chore(projects): add husky and commitlint

This commit is contained in:
张传龙
2022-07-10 14:02:02 +08:00
parent fd08d25ccf
commit 83b42bf6b8
8 changed files with 1412 additions and 2 deletions

4
.husky/commit-msg Normal file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no-install commitlint --edit "$1"