(feat) add husky + precommit hooks
This commit is contained in:
parent
3eecb6e406
commit
d1d845326d
4 changed files with 1217 additions and 14 deletions
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
Reference in a new issue