Add lint pre-commit hook using husky & lint-staged (#1973)
This commit is contained in:
committed by
GitHub
parent
595b7bd8b5
commit
e268e1ad04
4
.lintstagedrc
Normal file
4
.lintstagedrc
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"*": "prettier --write",
|
||||
"*.(ts|tsx)": ["eslint --fix"]
|
||||
}
|
||||
Reference in New Issue
Block a user