-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
38 lines (38 loc) · 1.05 KB
/
index.js
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
module.exports = {
rules: {
'body-leading-blank': [2, 'always'],
'body-tense': [2, 'always', ['present-imperative']],
'footer-leading-blank': [2, 'always'],
'footer-tense': [2, 'always', ['present-imperative']],
'header-max-length': [2, 'always', 72],
'lang': [1, 'always', 'eng'],
'scope-case': [2, 'always', 'lowerCase'],
'subject-empty': [2, 'never'],
'subject-full-stop': [2, 'never', '.'],
'subject-tense': [2, 'always', ['present-imperative']],
'type-case': [2, 'always', 'lowerCase'],
'type-empty': [2, 'never'],
'type-enum': [2, 'always', [
':art:',
':racehorse:',
':non-potable_water:',
':memo:',
':penguin:',
':apple:',
':checkered_flag:',
':bug:',
':fire:',
':green_heart:',
':white_check_mark:',
':lock:',
':arrow_up:',
':arrow_down:',
':shirt:'
]]
},
wildcards: {
merge: [ '^(Merge pull request)|(Merge (.*?) into (.*?)|(Merge branch (.*?))$)'],
release: ['^\\d+.\\d+.\\d+\n?$'],
revert: ['^revert: (.*)']
}
};