commitlint.config.cjs 360 B

1234567891011121314151617181920212223
  1. // commitlint.config.cjs
  2. module.exports = {
  3. extends: ['@commitlint/config-conventional'],
  4. rules: {
  5. 'type-enum': [
  6. 2,
  7. 'always',
  8. [
  9. 'build',
  10. 'chore',
  11. 'ci',
  12. 'docs',
  13. 'feat',
  14. 'fix',
  15. 'perf',
  16. 'refactor',
  17. 'revert',
  18. 'style',
  19. 'test',
  20. ],
  21. ],
  22. },
  23. };