Skip to content

Commit

Permalink
fix: increase commitlint header-max-length for squashed PR numbers (#487
Browse files Browse the repository at this point in the history
)
  • Loading branch information
brian-smith-tcril authored Feb 19, 2025
1 parent 5c83bdc commit 6ee3ab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions edx_lint/files/commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const Configuration = {
'revert', 'feat', 'fix', 'perf', 'docs', 'test', 'build', 'refactor', 'style', 'chore', 'temp',
]],

// Increase the header max length to account for PR numbers on squash merges
'header-max-length': [2, 'always', 110],

// Default rules we want to suppress:
'body-leading-blank': [0, "always"],
'body-max-line-length': [0, "always"],
Expand Down

0 comments on commit 6ee3ab3

Please sign in to comment.