Skip to content

Commit

Permalink
gitlint: Increase the title length limit to 72
Browse files Browse the repository at this point in the history
This is particularly useful for commits with long component names. Of
course, it is better to have concise subject that is less than 50 char.

Signed-off-by: Bo Chen <[email protected]>
  • Loading branch information
likebreath committed Nov 17, 2023
1 parent 4d80be3 commit 07475d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlint
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ignore=all

# default 72
[title-max-length]
line-length=50
line-length=72

# default 80
[body-max-line-length]
Expand Down
1 change: 1 addition & 0 deletions scripts/gitlint/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def validate(self, line, _commit):
'fuzz',
'github',
'gitignore',
'gitlint',
'hypervisor',
'Jenkinsfile',
'misc',
Expand Down

0 comments on commit 07475d2

Please sign in to comment.