.commitlintrc.cjs 446 B

12345678910111213141516171819202122232425262728
  1. module.exports = {
  2. extends: ['@commitlint/config-conventional'],
  3. rules: {
  4. 'type-enum': [
  5. 2,
  6. 'always',
  7. [
  8. 'feat',
  9. 'fix',
  10. 'perf',
  11. 'style',
  12. 'docs',
  13. 'test',
  14. 'refactor',
  15. 'build',
  16. 'ci',
  17. 'init',
  18. 'chore',
  19. 'revert',
  20. 'wip',
  21. 'workflow',
  22. 'types',
  23. 'release',
  24. ],
  25. ],
  26. 'subject-case': [0],
  27. },
  28. }