Skip to content

Instantly share code, notes, and snippets.

@the-spanish-guy
Created February 7, 2022 00:15
Show Gist options
  • Save the-spanish-guy/96afe75931604799bbedf912a5f158ae to your computer and use it in GitHub Desktop.
Save the-spanish-guy/96afe75931604799bbedf912a5f158ae to your computer and use it in GitHub Desktop.
config for cz-customizable
module.exports = {
types: [
{ value: ':sparkles: feat', name: '✨ feat:\tAdding a new feature' },
{ value: ':bug: fix', name: '🐛 fix:\tFixing a bug' },
{ value: ':memo: docs', name: '📝 docs:\tAdd or update documentation' },
{
value: ':lipstick: style',
name: '💄 style:\tAdd or update styles, ui or ux'
},
{
value: ':recycle: refactor',
name: '♻️ refactor:\tCode change that neither fixes a bug nor adds a feature'
},
{
value: ':zap: perf',
name: '⚡️ perf:\tCode change that improves performance'
},
{
value: ':white_check_mark: test',
name: '✅ test:\tAdding tests cases'
},
{
value: ':truck: chore',
name: '🚚 chore:\tChanges to the build process or auxiliary tools\n\t\tand libraries such as documentation generation'
},
{ value: ':rewind: revert', name: '⏪️ revert:\tRevert to a commit' },
{ value: ':construction: wip', name: '🚧 wip:\tWork in progress' },
{
value: ':construction_worker: build',
name: '👷 build:\tAdd or update regards to build process'
},
{
value: ':green_heart: ci',
name: '💚 ci:\tAdd or update regards to build process'
}
],
scopes: [{ name: 'routes' }, { name: 'hooks' }, { name: 'components' }],
// askForBreakingChangeFirst: true,
allowCustomScopes: true,
allowBreakingChanges: [':sparkles: feat', ':bug: fix'],
subjectLimit: 100
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment