Skip to content

chore(commitlint): relax body+footer max-line-length to warn-at-200#5

Merged
cloudingenium-automation[bot] merged 1 commit into
masterfrom
fix/commitlint-relax-body-line-length-2026-04-27
Apr 27, 2026
Merged

chore(commitlint): relax body+footer max-line-length to warn-at-200#5
cloudingenium-automation[bot] merged 1 commit into
masterfrom
fix/commitlint-relax-body-line-length-2026-04-27

Conversation

@cloudingenium-automation

Copy link
Copy Markdown

Relaxes the over-strict default body-max-line-length: [2, 'always', 100]
inherited from @commitlint/config-conventional to a warn-at-200 rule.

Why: this rule fires on every Dependabot grouped bump (autobody includes
Markdown links like [actions/setup-node](https://github.com/actions/setup-node)
that naturally exceed 100 chars), and on any propagated commit body that quotes
URLs or paths. Real-world: bfx-api-node-rest#8 (setup-node 6.3→6.4) blocked
on this; DigiConta#121 (gitleaks template propagation) blocked on this.

Change: body-max-line-length: [1, 'always', 200] + same for footer-max-line-length.
Level 1 = warn (don't block CI). 200 chars accommodates Markdown links and short
URLs while still flagging genuinely runaway lines. Header/subject length unchanged.

Auto-merge will fire once CI passes.

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.
Copilot AI review requested due to automatic review settings April 27, 2026 03:14
@cloudingenium-automation
cloudingenium-automation Bot removed the request for review from Copilot April 27, 2026 03:14
@cloudingenium-automation
cloudingenium-automation Bot merged commit bae56c3 into master Apr 27, 2026
3 of 6 checks passed
@cloudingenium-automation
cloudingenium-automation Bot deleted the fix/commitlint-relax-body-line-length-2026-04-27 branch April 27, 2026 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants