chore: update husky config for v9 (#13015)

This commit is contained in:
neverland
2024-07-21 17:43:52 +08:00
committed by GitHub
parent 33662b3dea
commit 945f69b453
8 changed files with 6 additions and 26 deletions

View File

@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install vant-cli commit-lint $1
vant-cli commit-lint $1

View File

@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx --no-install nano-staged
nano-staged