diff --git a/commitlint.config.js b/commitlint.config.js index 5073c20..17a8067 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1 +1,18 @@ -module.exports = { extends: ["@commitlint/config-conventional"] }; +module.exports = { + extends: ["@commitlint/config-conventional"], + rules: { + "type-enum": [ + 2, "always", + [ + "release", // custom major type + "feat", // minor + "fix", // patch + "style", // patch + "refactor", // patch + "chore", // no release + "docs", // no release + "test" // no release + ] + ] + } +};