-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.cz-config.js
70 lines (70 loc) · 1.79 KB
/
.cz-config.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
module.exports = {
types: [
{
value: 'feat',
name: 'A new feature'
},
{
value: 'fix',
name: 'A bugfix'
},
{
value: 'perf',
name: 'Performance and other improvement changes (including dependency updates)'
},
{
value: 'refactor',
name: 'Rename, restructure, reorganize code or files'
},
{
value: 'test',
name: 'Adding or fixing tests'
},
{
value: 'style',
name: 'Code style changes (e.g.: linting issues, white-space, formatting, ...)'
},
{
value: 'docs',
name: 'Documentation changes'
},
{
value: 'build',
name: 'Build system or external dependency changes (e.g.: npm, webpack, gulp, ...)'
},
{
value: 'ci',
name: 'CI/CD changes (e.g.: GitHub Actions, BrowserStack, SauceLabs, ...)'
},
{
value: 'chore',
name: 'Other types of changes'
}
],
scopes: [
{ name: 'root' },
{ name: 'bigint' },
{ name: 'boolean' },
{ name: 'core' },
{ name: 'data' },
{ name: 'engines' },
{ name: 'library' },
{ name: 'number' },
{ name: 'pick' },
{ name: 'shuffle' },
{ name: 'string' },
{ name: 'weighted' }
],
messages: {
type: 'Select the type of change that you\'re committing',
customScope: 'Denote the SCOPE of this change',
customScopeEntry: 'Custom scope...',
scope: 'Denote the SCOPE of this change (optional)',
subject: 'Write a SHORT, IMPERATIVE tense description of the change',
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line',
breaking: 'List any BREAKING CHANGES (optional)',
footer: 'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34'
},
allowCustomScopes: true,
subjectLimit: 100,
}