From 3cea1cef6dbe743c95e7d7876e95137569157ae9 Mon Sep 17 00:00:00 2001 From: hahirwar-cd Date: Sat, 21 Mar 2026 21:11:09 +0530 Subject: [PATCH] fix(pr-checks): allow pascal-case and camel-case in commit messages --- commitlint.config.cjs | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/commitlint.config.cjs b/commitlint.config.cjs index 67fd72e3..a25b4544 100644 --- a/commitlint.config.cjs +++ b/commitlint.config.cjs @@ -2,18 +2,11 @@ module.exports = { extends: ['@commitlint/config-conventional'], rules: { 'type-enum': [2, 'always', [ - 'fix', - 'feat', - 'docs', - 'ci', - 'chore', - 'test', - 'refactor', - 'style', - 'perf', - 'build', - 'revert' - ]], - 'header-max-length': [2, 'always', 150] + 'fix', 'feat', 'docs', 'ci', 'chore', 'test', 'refactor', 'style', 'perf', 'build', 'revert', + 'Fix', 'Feat', 'Docs', 'Ci', 'Chore', 'Test', 'Refactor', 'Style', 'Perf', 'Build', 'Revert' + ]], + 'header-max-length': [2, 'always', 150], + 'subject-case': [0], + 'type-case': [0], } }; \ No newline at end of file