This repository was archived by the owner on Apr 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommitizen.js
More file actions
46 lines (44 loc) · 1.45 KB
/
Copy pathcommitizen.js
File metadata and controls
46 lines (44 loc) · 1.45 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
module.exports = {
types: [
{ value: 'build', name: 'build: Build project or change dependencies' },
{ value: 'ci', name: 'ci: Settings CI' },
{ value: 'docs', name: 'docs: Update documentation' },
{ value: 'feat', name: 'feat: Adding new functionality' },
{ value: 'fix', name: 'fix: Fix bugs' },
{ value: 'perf', name: 'perf: Performance improvement' },
{
value: 'refactor',
name: 'refactor: Editing code without fixing bugs or adding new features',
},
{ value: 'revert', name: 'revert: Rollback to previous commits' },
{
value: 'style',
name: 'style: Edits by code style (tabs, indents, periods, commas ...)',
},
{ value: 'test', name: 'test: Build test' },
],
scopes: [{ name: 'components' }, { name: 'styles' }],
/*
scopeOverrides: {
fix: [
{name: 'style'},
{name: 'e2eTest'},
{name: 'unitTest'}
]
},
*/
messages: {
type: 'What changes are you making?',
scope: 'Select the scope that you changed (optional):',
customScope: 'Insert your scope:',
subject: 'Write a short description:',
body: 'Write a detailed description (optional). Use "|" for a new line:',
breaking: 'List BREAKING CHANGES (optional):',
footer: 'Place for meta data (tasks, links):',
confirmCommit: 'You are satisfied with the resulting commit?',
},
allowCustomScopes: true,
allowBreakingChanges: false,
footerPrefix: '#42343:',
subjectLimit: 72,
};