Skip to content

Commit 25b8651

Browse files
authored
ci: allow ! in commits to indicate breaking changes (#51)
This change works around a bug in `commitlint`: conventional-changelog/commitlint#2226
1 parent 25a1c8d commit 25b8651

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.commitlintrc.yml

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
extends:
2-
- '@commitlint/config-angular'
2+
- '@commitlint/config-conventional'
33

44
rules:
5-
body-max-line-length: [2, 'always', 72]
5+
footer-max-line-length: [ 2, 'always', 72 ]
6+
header-max-length: [ 2, 'always', 72 ]
7+
body-max-line-length: [ 2, 'always', 72 ]
8+
type-enum: [
9+
2,
10+
'always',
11+
[
12+
'build',
13+
'ci',
14+
'docs',
15+
'feat',
16+
'fix',
17+
'perf',
18+
'refactor',
19+
'revert',
20+
'style',
21+
'test',
22+
]
23+
]

0 commit comments

Comments
 (0)