Преглед изворни кода

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

Add some more commit prefixes
Nathan.fooo пре 3 година
родитељ
комит
fa33f0c21b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      commitlint.config.js

+ 1 - 1
commitlint.config.js

@@ -1,7 +1,7 @@
 // module.exports = {extends: ['@commitlint/config-conventional']}
 // module.exports = {extends: ['@commitlint/config-conventional']}
 module.exports = {
 module.exports = {
     rules: {
     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-leading-blank': [1, 'always'],
         'body-max-line-length': [2, 'always', 100],
         'body-max-line-length': [2, 'always', 100],
         'footer-leading-blank': [1, 'always'],
         'footer-leading-blank': [1, 'always'],