Skip to content

Commit e56b6a2

Browse files
committed
gitlint: ignore "Fixes" lines
Since these repeat commit titles, they can get longer than the configured body line length. So just ignore them. Signed-off-by: Patrick Roy <[email protected]>
1 parent 0b4266b commit e56b6a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitlint

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ line-length=72
99

1010
[ignore-body-lines]
1111
# Ignore HTTP reference links
12-
# Ignore lines that start with 'Co-Authored-By' or with 'Signed-off-by'
13-
regex=(^\[.+\]: http.+)|(^Co-Authored-By)|(^Signed-off-by)
12+
# Ignore lines that start with 'Co-Authored-By', with 'Signed-off-by' or with 'Fixes'
13+
regex=(^\[.+\]: http.+)|(^Co-Authored-By)|(^Signed-off-by)|(^Fixes:)
1414

1515
[ignore-by-author-name]
1616
# Ignore certain rules for commits of which the author name matches a regex

0 commit comments

Comments
 (0)