-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommitlint.config.js
More file actions
59 lines (59 loc) · 1.03 KB
/
commitlint.config.js
File metadata and controls
59 lines (59 loc) · 1.03 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
module.exports = {
extends: ['@commitlint/config-conventional'],
parserPreset: {
parserOpts: {
issuePrefixes: ['#'],
},
},
rules: {
'subject-case': [0],
'subject-full-stop': [0],
'header-max-length': [2, 'always', 78],
'scope-enum': [
2,
'always',
[
'apds9960',
'bme280',
'bq27441',
'daplink_bridge',
'daplink_flash',
'gc9a01',
'hts221',
'im34dt05',
'ism330dl',
'lis2mdl',
'mcp23009e',
'ssd1327',
'steami_config',
'vl53l1x',
'wsen-hids',
'wsen-pads',
'ci',
'docs',
'style',
'tests',
'tooling',
],
],
'type-enum': [
2,
'always',
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
'tooling',
],
],
'body-max-line-length': [1, 'always', 100],
},
};