-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommitzen.config.js
44 lines (44 loc) · 1.16 KB
/
commitzen.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
module.exports = {
types: [
{ value: 'tooling', name: 'tooling: Add or update tooling' },
{ value: 'feat', name: 'feat:\tAdding a new feature' },
{ value: 'fix', name: 'fix:\tFixing a bug' },
{
value: 'style',
name: 'style: Add or update styles',
},
{
value: 'tests',
name: 'test: Add or update tests',
},
{
value: 'refactor',
name: 'refactor: Code change that neither fixes a bug nor adds a feature',
},
{
value: 'perf',
name: 'Code change that improves performance',
},
{
value: 'test',
name: 'test: Adding tests cases / adds missing tests',
},
{
value: 'chore',
name: 'chore: Changes to the build process or auxiliary tools and libraries such as documentation generation',
},
{ value: 'revert', name: 'revert:\tRevert to a commit' },
],
scopes: [
{ name: 'backend' },
{ name: 'infrastructure' },
{ name: 'documentation' },
{ name: 'ci' },
{ name: 'tests' },
{ name: 'tooling' },
],
allowCustomScopes: true,
allowBreakingChanges: ['feat', 'fix', 'perf', 'refactor'],
subjectLimit: 100,
skipQuestions: ['body'],
};