husky > commit-msg (node v14.17.1) ⧗ input: feat:新增邀约超时文案 ✖ subject may not be empty [subject... git commit 的时候报错,原来是提交的message是有规范的,所以要按照要求提交。 Commit Message 第一目标是尽量让人能比较容易的的了解该 commit 的具体内容。 我们日常的编程工作中,花了很多...
✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint husky - commit-msg hook exited with code 1 (error) 这是自己实现的步骤,提交规则...
value: 默认['sentence-case', 'start-case', 'pascal-case', 'upper-case'],可用列表同上 subject-empty condition:subject是否为空 rule:never subject-full-stop condition:subject结尾符 rule:never value:. subject-max-length condition:subject最大长度 rule:always value:Infinity默认无穷大 subject-min-leng...
> husky-vue3-template@0.0.0 format G:\wokespace\github\husky-vue3-template > eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore .../packages/pnpm/store/v3/tmp/dlx-4288 | Progress: resolved 1, reused 0, downloaded 0, added 0 .../p...
'subject-empty': [2, 'never'], // subject不能为空 内容不为空 subject may not be empty ,type后必须英文冒号加空格例如 feat: 新增用户列表 'type-empty': [2, 'never'], // never: type不能为空; always: type必须为空 'type-enum': [ ...
✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint husky - commit-msg hook exited with code 1 (error) ...
✖ subject may not be empty [subject-empty] ✖ type may not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint husky > commit-msg hook failed (add --no-verify to bypass)注...
✖ subject may not be empty [subject-empty] ✖typemay not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Gethelp: https://github.com/conventional-changelog/commitlint/#what-is-commitlint ... 总结 通过结合Husky和Commitlint,你可以有效地提高代码仓库的管理效率,确保每个提交都遵循...
✖ subject may not be empty[subject-empty]✖ type may not be empty[type-empty]✖ found2problems,0warnings ⓘ Get help:https://github.com/conventional-changelog/commitlint/#what-is-commitlint husky-commit-msg hook exitedwithcode1(error) ...
✖ subject may not be empty [subject-empty] ✖typemay not be empty [type-empty] ✖ found 2 problems, 0 warnings ⓘ Gethelp: https://github.com/conventional-changelog/commitlint/#what-is-commitlint ... 总结 通过结合Husky和Commitlint,你可以有效地提高代码仓库的管理效率,确保每个提交都遵...