forked from NetApp/harvest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommitlint.config.mjs
42 lines (42 loc) · 999 Bytes
/
commitlint.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
export default {
extends: ['@commitlint/config-conventional'],
rules: {
// Disable the following ones
'body-max-line-length': [0, 'always'],
'subject-case': [0, 'always'],
'footer-max-line-length': [0, 'always'],
'scope-enum': [
2,
'always',
[
'collector',
'config',
'deps',
'exporter',
'grafana',
'influxdb',
'manager',
'matrix',
'poller',
'prometheus',
]
],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'doc',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test'
]
]
}
};