forked from alexschimpf/fastapi-versionizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
20 lines (20 loc) · 811 Bytes
/
commitlint.config.js
File metadata and controls
20 lines (20 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module.exports = {
rules: {
'subject-min-length': [2, 'always', 10],
'subject-max-length': [2, 'always', 120],
'subject-case': [2, 'always', 'sentence-case'],
'subject-full-stop': [2, 'never', '.'],
'body-min-length': [2, 'always', 0],
'body-max-line-length': [2, 'always', 120],
'body-case': [2, 'always', 'sentence-case'],
'body-full-stop': [2, 'always', '.'],
'footer-min-length': [2, 'always', 0],
'footer-max-line-length': [2, 'always', 120],
'type-enum': [2, 'always', [
'breaking', 'deps', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'style', 'test'
]],
'type-empty': [2, 'never']
},
parserPreset: './commitlint.parser-preset.js',
defaultIgnores: false
};