Skip to content

Commit

Permalink
ci: allow ! in commits to indicate breaking changes (#51)
Browse files Browse the repository at this point in the history
This change works around a bug in `commitlint`:
conventional-changelog/commitlint#2226
  • Loading branch information
aleksator committed Oct 24, 2020
1 parent 25a1c8d commit 25b8651
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .commitlintrc.yml
@@ -1,5 +1,23 @@
extends:
- '@commitlint/config-angular'
- '@commitlint/config-conventional'

rules:
body-max-line-length: [2, 'always', 72]
footer-max-line-length: [ 2, 'always', 72 ]
header-max-length: [ 2, 'always', 72 ]
body-max-line-length: [ 2, 'always', 72 ]
type-enum: [
2,
'always',
[
'build',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
]
]

0 comments on commit 25b8651

Please sign in to comment.