forked from steviebuilds/mui-nested-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcz.config.js
More file actions
59 lines (59 loc) · 1.86 KB
/
Copy pathcz.config.js
File metadata and controls
59 lines (59 loc) · 1.86 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
47
48
49
50
51
52
53
54
55
56
57
58
59
// See example: https://github.com/leoforfree/cz-customizable/blob/HEAD/cz-config-EXAMPLE.js
module.exports = {
allowBreakingChanges: ['feat', 'fix'],
allowCustomScopes: false,
allowTicketNumber: false,
isTicketNumberRequired: false,
messages: {
confirmCommit: 'Commit?',
subject: 'Write a short description of the change:\n',
type: "Select the type of change that you're committing:",
},
scopes: [
{ name: 'common' },
{ name: 'docs' },
{ name: 'global' },
{ name: 'mui-nested-menu' },
{ name: 'ui' },
],
skipQuestions: ['customScope', 'body', 'breaking', 'footer'],
subjectLimit: 100,
subjectSeparator: ': ',
ticketNumberPrefix: 'TICKET-',
ticketNumberRegExp: '\\d{1,5}',
types: [
{
name: 'feat: 🌟 A new feature',
value: '🌟 feat',
},
{
name: 'fix: 🐞 A bug fix',
value: '🐞 fix',
},
{
name: 'docs: 📚 Documentation only changes',
value: '📚 docs',
},
{
name: 'style: 💅 Changes that do not affect the meaning of the code (eg. formatting)',
value: '💅 style',
},
{
name: 'refactor: 🎨 A code change that neither fixes a bug nor adds a feature',
value: '🎨 refactor',
},
{
name: 'test: 🧪 Adding missing tests or correcting existing tests',
value: '🧪 test',
},
{
name: 'build: 🛠️ Changes that affect the build system or external dependencies',
value: '🛠️ build',
},
{
name: "chore: 🔩 Other changes that don't modify src or test files",
value: '🔩 chore',
},
],
usePreparedCommit: false,
};