添加了husky
This commit is contained in:
5
.husky/pre-commit
Normal file
5
.husky/pre-commit
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
# pnpm run lint 改为
|
||||
pnpm exec lint-staged
|
Reference in New Issue
Block a user