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

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

No files matched your search

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