-
Notifications
You must be signed in to change notification settings - Fork 7
/
.commitizard.json
145 lines (145 loc) · 4.23 KB
/
.commitizard.json
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"version": "0.0.1",
"settings": {
"maxViewFilesToShow": 5,
"excludePaths": [
"package-lock.json",
"yarn.lock",
"yarn-error.log",
"pnpm-lock.yaml",
"**/yarn.lock",
"**/pnpm-lock.yaml",
"**/package-lock.json",
"**/yarn-error.log",
"**/yarn.lock.*",
"**/yarn.lock/*.log",
"**/.yarn/cache"
]
},
"conventional": {
"commitOptions": {
"template": {
"type": "{{type}}",
"scope": "({{scope}})",
"subject": ": {{subject}}",
"body": "\n\n{{body}}",
"footer": "\n\n{{footer}}",
"breaking": "\n\nBREAKING CHANGE:\n {{breaking}}",
"refs": "\n\nRefs: {{refs}}"
},
"templateOrder": [
"type",
"scope",
"subject",
"body",
"breaking",
"footer",
"refs"
]
},
"cliOptions": {
"types": [
{
"value": "feat",
"label": "feat: A new feature"
},
{
"value": "fix",
"label": "fix: A bug fix"
},
{
"value": "docs",
"label": "docs: Documentation only changes"
},
{
"value": "style",
"label": "style: Changes that do not affect the meaning of the code"
},
{
"value": "refactor",
"label": "refactor: A code change that neither fixes a bug nor adds a feature"
},
{
"value": "perf",
"label": "perf: A code change that improves performance"
},
{
"value": "test",
"label": "test: Adding missing tests or correcting existing tests"
},
{
"value": "ci",
"label": "ci: Changes to our CI configuration files and scripts"
},
{
"value": "chore",
"label": "chore: Changes to the build process or auxiliary tools and libraries"
}
]
}
},
"redGreenRefactor": {
"commitOptions": {
"template": {
"type": "[{{type}}]: ",
"subject": "{{subject}}",
"body": "\n\n{{body}}"
},
"templateOrder": [
"type",
"subject",
"body"
]
},
"cliOptions": {
"types": [
{
"value": "RED",
"label": "RED: Write a test that fails",
"patterns": [
"Add failing test for {{feature}}",
"Write failing test for {{feature}}",
"Create failing test for {{feature}}",
"Implement failing test for {{feature}}",
"Introduce failing test for {{feature}}",
"Start failing test for {{feature}}",
"Begin failing test for {{feature}}",
"Initiate failing test for {{feature}}",
"Setup failing test for {{feature}}"
]
},
{
"value": "GREEN",
"label": "GREEN: Make the test pass",
"patterns": [
"Make test pass for {{feature}}",
"Fix failing test for {{feature}}",
"Implement solution for {{feature}}",
"Add code to pass test for {{feature}}",
"Introduce passing test for {{feature}}",
"Start passing test for {{feature}}",
"Begin passing test for {{feature}}",
"Initiate passing test for {{feature}}",
"Setup passing test for {{feature}}"
]
},
{
"value": "REFACTOR",
"label": "REFACTOR: Refactor the code without changing functionality",
"patterns": [
"Refactor {{feature}} to improve {{performance/maintainability/readability/usability}}",
"Restructure {{feature}} to {{simplify/consolidate/clarify}}",
"Extract {{feature}} to {{separate file/module}}",
"Inline {{feature}}",
"Rename {{feature}} to {{new name}}",
"Move {{feature}} to {{new location}}",
"Reorganize {{feature}} to {{streamline/improve}}",
"Simplify {{feature}} by {{removing unnecessary code/logic}}",
"Optimize {{feature}} by {{reducing complexity/improving efficiency}}",
"Improve {{feature}} by {{cleaning up/rewriting}} code for {{clarity/consistency}}"
]
}
]
}
}
}