feat: 添加husky + commitlint代码提交规范

Former-commit-id: 766fdd4bb607d559ce16bf1f18aae6ad3b6b37cb
This commit is contained in:
郝先瑞
2022-04-15 00:44:24 +08:00
parent d49b2f4cdc
commit 15022f51b9
3 changed files with 34 additions and 0 deletions

4
.husky/commit-msg Normal file
View File

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