diff --git a/commitlint.config.cjs b/commitlint.config.cjs index 4fedde6..aff7688 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -1 +1,10 @@ -module.exports = { extends: ['@commitlint/config-conventional'] } +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + 'type-enum': [ + 2, + 'always', + ['build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'release', 'revert', 'style', 'test'], + ], + }, +}