Skip to content

Commit

Permalink
build: Remove commit lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmenzel committed Oct 23, 2024
1 parent d9cdfd2 commit 0b45c3b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions commitlint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
// Allow sentence case commit messages
'subject-case': [1, 'always', ['pascal-case', 'upper-case']],
'type-empty': [1, 'never'],
'subject-empty': [1, 'always'],
'subject-case': [0, 'always', ['pascal-case', 'upper-case']],
'type-empty': [2, 'never'],
'subject-empty': [0, 'always'],
'body-leading-blank': [0, 'always'],
'body-max-line-length': [1, 'always', 200],
'header-max-length': [1, 'always', 150],
'footer-max-length': [1, 'always', 150],
'footer-max-line-length': [1, 'always', 150],
'body-max-line-length': [0, 'always', 200],
'header-max-length': [0, 'always', 150],
'footer-max-length': [0, 'always', 150],
'footer-max-line-length': [0, 'always', 150],
},
}

0 comments on commit 0b45c3b

Please sign in to comment.