forked from conventional-changelog/commitlint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.ts
56 lines (56 loc) · 1.3 KB
/
settings.ts
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
export default {
type: {
description: '<type> holds information about the goal of a change.',
enumerables: {
feat: {
description: 'Adds a new feature.',
},
fix: {
description: 'Solves a bug.',
},
chore: {
description: "Other changes that don't modify src or test files",
},
docs: {
description: 'Adds or alters documentation.',
},
style: {
description: 'Improves formatting, white-space.',
},
refactor: {
description:
'Rewrites code without feature, performance or bug changes.',
},
perf: {
description: 'Improves performance.',
},
test: {
description: 'Adds or modifies tests.',
},
build: {
description: 'Affects the build system or external dependencies.',
},
ci: {
description: 'Changes CI configuration files and scripts.',
},
revert: {
description: 'Reverts a previous commit.',
},
},
},
scope: {
description: '<scope> marks which sub-component of the project is affected',
},
subject: {
description: '<subject> is a short, high-level description of the change',
},
body: {
description: '<body> holds additional information about the change',
multiline: true,
},
footer: {
description:
'<footer> holds further meta data, such as breaking changes and issue ids',
multiline: true,
},
};