-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommitizen.js
More file actions
28 lines (26 loc) · 966 Bytes
/
commitizen.js
File metadata and controls
28 lines (26 loc) · 966 Bytes
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
module.exports = {
types: [
{ value: 'feat', name: 'feat: Adding new feature' },
{ value: 'fix', name: 'fix: Bug fix' },
{ value: 'test', name: 'test: Adding Tests' },
{
value: 'refactor',
name: 'refactor: Editing code without fixing bugs or adding new features',
},
{ value: 'chore', name: 'chore Add / update / customize tools and libraries' },
{ value: 'changelog', name: 'changelog Add / update / changelog' },
{ value: 'release', name: 'release New release' },
],
scopes: [{ name: 'custom' }, { name: 'components' }, { name: 'global' }],
messages: {
type: 'Type of change',
scope: 'Scope of changes (optional):',
customScope: 'Enter your scope:',
subject: 'Summary of changes:\n',
body: 'Detailed description of changes:\n',
confirmCommit: 'Save the resulting commit?',
},
footerPrefix: 'closes',
allowCustomScopes: true,
subjectLimit: 100,
}