mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 02:35:18 +08:00
chore: update husky to v5
This commit is contained in:
8
.husky/pre-commit
Executable file
8
.husky/pre-commit
Executable 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
|
Reference in New Issue
Block a user