From 876d6d0ef3dd5619c2151298870edc7f58690902 Mon Sep 17 00:00:00 2001 From: Nitant-AdvancedTicketing Date: Mon, 29 Sep 2025 16:38:37 +0000 Subject: [PATCH] fix: update hook --- commitlint.config.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/commitlint.config.js b/commitlint.config.js index 5073c20d..17a8067f 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 + ] + ] + } +};