build: update husky config to v6

This commit is contained in:
chenjiahan
2021-04-04 15:02:47 +08:00
parent 1a94b41e43
commit 8f0c187278
5 changed files with 45 additions and 128 deletions

4
.husky/commit-msg Executable file
View File

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