@braineet/commitlint-config
Version:
Shared commitlint configuration for Braineet Frontend projects
56 lines (55 loc) โข 1.64 kB
JavaScript
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [
2,
'always',
['feat', 'fix', 'imp', 'test', 'chore', 'ci', 'wip', 'release'],
],
},
prompt: {
types: [
{
value: 'feat',
name: 'feat: โจ A new feature',
emoji: ':sparkles:',
},
{
value: 'fix',
name: 'fix: ๐ A bug fix',
emoji: ':bug:',
},
{
value: 'imp',
name: 'perf: โก๏ธ A code change that improves code/performance',
emoji: ':zap:',
},
{
value: 'test',
name: 'test: ๐งช Add tests',
emoji: ':test_tube:',
},
{
value: 'chore',
name: "chore: ๐จ Other changes that don't modify src or test files",
emoji: ':wrench:',
},
{
value: 'ci',
name: 'ci: ๐ก Changes to our CI configuration files and scripts',
emoji: ':ferris_wheel:',
},
{
value: 'wip',
name: 'wip: ๐ง Development still in progress',
emoji: ':construction:',
},
{
value: 'release',
name: 'release: ๐ Release',
emoji: ':bookmark:',
},
],
useEmoji: true,
},
};