Merge pull request #327 from hieugao/ci/add-more-commit-prefixes

Add some more commit prefixes
This commit is contained in:
Nathan.fooo 2022-02-13 22:10:37 +08:00 committed by GitHub
commit fa33f0c21b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
// module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {
rules: {
'type-enum': [2, 'always', ['feat', 'refactor', 'style', 'fix', 'ci']],
'type-enum': [2, 'always', ['chore', 'ci', 'docs', 'feat', 'fix', 'refactor', 'style', 'test']],
'body-leading-blank': [1, 'always'],
'body-max-line-length': [2, 'always', 100],
'footer-leading-blank': [1, 'always'],