From 3c31baa90fe235e97319d3fef5bd10bc0cdbd3e8 Mon Sep 17 00:00:00 2001 From: "cloudingenium-automation[bot]" <277329096+cloudingenium-automation[bot]@users.noreply.github.com> Date: Mon, 27 Apr 2026 03:13:35 +0000 Subject: [PATCH] chore(commitlint): relax body+footer max-line-length to warn-at-200 Default '@commitlint/config-conventional' enforces 100-char max on body and footer lines as ERROR. This repeatedly trips Dependabot grouped bumps (whose autobody includes Markdown links that exceed 100 chars) and any propagated commit message that quotes URLs or paths. New rule: warn (level 1) at 200 chars instead of error at 100. Keeps some discipline against runaway lines without blocking merges on unavoidable URL references in auto-generated bodies. Header/subject length rules unchanged. --- .commitlintrc.json | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/.commitlintrc.json b/.commitlintrc.json index 73bb18b..7cfc104 100644 --- a/.commitlintrc.json +++ b/.commitlintrc.json @@ -1,13 +1,43 @@ { - "extends": ["@commitlint/config-conventional"], + "extends": [ + "@commitlint/config-conventional" + ], "rules": { "type-enum": [ 2, "always", - ["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore", "build", "ci", "revert"] + [ + "feat", + "fix", + "docs", + "style", + "refactor", + "perf", + "test", + "chore", + "build", + "ci", + "revert" + ] ], - "subject-case": [0, "always"], - "header-max-length": [1, "always", 100] + "subject-case": [ + 0, + "always" + ], + "header-max-length": [ + 1, + "always", + 100 + ], + "body-max-line-length": [ + 1, + "always", + 200 + ], + "footer-max-line-length": [ + 1, + "always", + 200 + ] } } -