Skip to content

Commit

Permalink
gitlint: ignore "Fixes" lines
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
roypat committed Dec 13, 2024
1 parent 0b4266b commit e56b6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlint
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ line-length=72

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

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

0 comments on commit e56b6a2

Please sign in to comment.