forked from consta-design-system/uikit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitizen.js
More file actions
32 lines (30 loc) · 1.18 KB
/
commitizen.js
File metadata and controls
32 lines (30 loc) · 1.18 KB
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
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: 'docs', name: 'docs: Documentation Update' },
{ 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',
breaking: 'Description BREAKING CHANGES:\n',
confirmCommit: 'Save the resulting commit?',
footer: 'Issue number (Example: #101):\n',
},
footerPrefix: 'issue - ',
allowBreakingChanges: ['feat', 'fix', 'test', 'refactor', 'docs', 'chore'],
allowCustomScopes: true,
subjectLimit: 100,
};