diff --git a/commitlint.config.cjs b/commitlint.config.cjs index 422b1944..4735bce3 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -1 +1,8 @@ -module.exports = { extends: ['@commitlint/config-conventional'] }; +module.exports = { + extends: ['@commitlint/config-conventional'], + rules: { + 'type-enum': [2, 'always', [ + "feat", "fix", "docs", "style", "refactor", "test", "chore", "revert", "release", + ]], + }, +};