Add lint pre-commit hook using husky & lint-staged (#1973)
This commit is contained in:
committed by
GitHub
parent
595b7bd8b5
commit
e268e1ad04
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged --concurrent false
|
||||
Reference in New Issue
Block a user