Skip to content

Commit 9deba58

Browse files
author
Zachary Burnham
committed
Document the minimum commit body length gitlint enforces
Gitlint's B5 rule rejects a body under 20 characters. The guidelines listed the other body rules but not this one, so a short body failed CI with no documented reason.
1 parent c373152 commit 9deba58

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/commit-guidelines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ These align with the gitlint rules run in CI.
1212
## Body (optional)
1313

1414
- Blank line after the subject.
15+
- At least 20 characters, if present.
1516
- Wrap lines at 80 characters.
1617
- Explain what and why over how; link issues like "Fixes #1234" when applicable.
1718
- No hard tabs, no trailing whitespace.

0 commit comments

Comments
 (0)