UNPKG

@braineet/commitlint-config

Version:

Shared commitlint configuration for Braineet Frontend projects

56 lines (55 loc) โ€ข 1.64 kB
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, }, };