Skip to content

Commit

Permalink
chore(ci): increase max length of commit message from 50 to 72 inclus…
Browse files Browse the repository at this point in the history
…ive (#2202)

- 50 is too small, especially with large `chore(<big_scope_name>)`
- For example, Linux kernel uses 72.
- why 72? that's already the length of the commit body, and having
a larger title is weird.

Co-Authored-By: Gilad Chase <gilad@starkware.com>
  • Loading branch information
giladchase and Gilad Chase authored Nov 21, 2024
1 parent 4f06698 commit 7661556
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const Configuration = {
'transaction',
'types',
]],
'header-max-length': [2, 'always', 72],
},
/*
* Functions that return true if commitlint should ignore the given message.
Expand Down

0 comments on commit 7661556

Please sign in to comment.