@cookbook/dot-notation
Version:
Object readings and complex transformations using dot notation syntax.
67 lines (66 loc) โข 1.61 kB
JavaScript
module.exports = {
disableEmoji: true,
format: '{type}{scope}: {emoji}{subject}',
list: ['chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'refactor', 'revert', 'style', 'test'],
maxMessageLength: 64,
minMessageLength: 3,
questions: ['type', 'scope', 'subject', 'body', 'breaking', 'issues', 'lerna'],
scopes: [],
types: {
chore: {
description: 'Build process or auxiliary tool changes',
emoji: '๐ค',
value: 'chore',
},
ci: {
description: 'CI related changes',
emoji: '๐ก',
value: 'ci',
},
docs: {
description: 'Documentation only changes',
emoji: 'โ๏ธ',
value: 'docs',
},
feat: {
description: 'A new feature',
emoji: 'โ๏ธ',
value: 'feat',
},
fix: {
description: 'A bug fix',
emoji: '๐',
value: 'fix',
},
perf: {
description: 'A code change that improves performance',
emoji: 'โก๏ธ',
value: 'perf',
},
refactor: {
description: 'A code change that neither fixes a bug or adds a feature',
emoji: 'โป๏ธ',
value: 'refactor',
},
release: {
description: 'Create a release commit',
emoji: '๐',
value: 'release',
},
revert: {
description: 'Revert changes',
emoji: 'โฉ๏ธ',
value: 'release',
},
style: {
description: 'Markup, white-space, formatting, missing semi-colons...',
emoji: '๐',
value: 'style',
},
test: {
description: 'Adding missing tests',
emoji: '๐งช',
value: 'test',
},
},
};g