Skip to content

Commit ea1d8d9

Browse files
committed
refactor(config-conventional): remove type enums from config
The specification only provides feat and fix as a guideline, its not a hard limitation. Because of this, it should accept any type.
1 parent 7c17ffc commit ea1d8d9

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

@commitlint/config-conventional/index.js

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@ module.exports = {
1313
'subject-empty': [2, 'never'],
1414
'subject-full-stop': [2, 'never', '.'],
1515
'type-case': [2, 'always', 'lower-case'],
16-
'type-empty': [2, 'never'],
17-
'type-enum': [
18-
2,
19-
'always',
20-
[
21-
'feat',
22-
'fix',
23-
'perf',
24-
'revert',
25-
'docs',
26-
'style',
27-
'chore',
28-
'refactor',
29-
'test',
30-
'build',
31-
'ci'
32-
]
33-
]
16+
'type-empty': [2, 'never']
3417
}
3518
};

0 commit comments

Comments
 (0)