feat(commit-msg): 规范的提交信息

This commit is contained in:
ray
2024-09-19 13:47:00 +08:00
parent 1c7776b5fe
commit 1c4d4a4120
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1 @@
npx --no-install commitlint --edit $1

View File

@@ -21,7 +21,7 @@ export default {
"ci", // 修改 CI 配置、脚本
"revert", // 回滚 commit
"chore", // 对构建过程或辅助工具和库的更改(不影响源文件、测试用例)
"wip", // 对构建过程或辅助工具和库的更改(不影响源文件、测试用例)
"wip", // 开发临时提交
],
],
"subject-case": [0], // subject大小写不做校验