Skip to content

Commit f4f91d3

Browse files
committed
chore: reformat .commitlintrc.yml to be consistent with other projects
1 parent bee519d commit f4f91d3

File tree

1 file changed

+10
-23
lines changed

1 file changed

+10
-23
lines changed

.commitlintrc.yml

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,17 @@ extends: '@commitlint/config-conventional'
44
rules:
55
# See: https://commitlint.js.org/reference/rules.html
66
#
7-
# Rules are made up by a name and a configuration array. The configuration array contains:
7+
# Rules are made up by a name and a configuration array. The configuration
8+
# array contains:
89
#
9-
# * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if violated
10+
# * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if
11+
# violated
1012
# * Applicability [always|never]: never inverts the rule
11-
# * Value: value to use for this rule
13+
# * Value: value to use for this rule (if applicable)
1214
#
13-
# Run `npx commitlint --print-config` to see the current setting for all rules.
15+
# Run `npx commitlint --print-config` to see the current setting for all
16+
# rules.
1417
#
15-
body-leading-blank: [2, 'always']
16-
footer-leading-blank: [2, 'always']
17-
type-enum: [
18-
2,
19-
'always',
20-
[
21-
'build',
22-
'ci',
23-
'chore',
24-
'docs',
25-
'feat',
26-
'fix',
27-
'perf',
28-
'refactor',
29-
'revert',
30-
'style',
31-
'test'
32-
]
33-
]
18+
body-leading-blank: [2, always]
19+
footer-leading-blank: [2, always]
20+
type-enum: [2, always, [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]]

0 commit comments

Comments
 (0)