UNPKG

865 BJavaScriptView Raw
1module.exports = {
2 list: ['feat', 'fix', 'refactor', 'perf', 'test', 'chore', 'docs'],
3 maxMessageLength: 64,
4 minMessageLength: 3,
5 questions: ['type', 'subject', 'body', 'breaking', 'issues'],
6 types: {
7 feat: {
8 description: 'A new feature',
9 value: 'feat'
10 },
11 fix: {
12 description: 'A bug fix',
13 value: 'fix'
14 },
15 refactor: {
16 description: 'A code change that neither adds a feature or fixes a bug',
17 value: 'refactor'
18 },
19 perf: {
20 description: 'A code change that improves performance',
21 value: 'perf'
22 },
23 test: {
24 description: 'Adding missing tests',
25 value: 'test'
26 },
27 chore: {
28 description: 'Build process, CI or auxiliary tool changes',
29 value: 'chore'
30 },
31 docs: {
32 description: 'Documentation only changes',
33 value: 'docs'
34 }
35 }
36};