소스 검색

ci: add some more commit prefixes

Hieu 3 년 전
부모
커밋
320aea039a
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 = {
     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'],