chore: update husky to v5

This commit is contained in:
vben
2021-02-09 22:36:44 +08:00
parent 64533f6204
commit 2b466eaf9a
8 changed files with 99 additions and 115 deletions

8
.husky/pre-commit Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
[ -n "$CI" ] && exit 0
npm run lint:ls-lint
npm run lint:lint-staged