Skip to content

Instantly share code, notes, and snippets.

@leohxj
Last active May 19, 2023 03:49
Show Gist options
  • Save leohxj/7bc928f60bfa46a3856ddf7c0f91ab98 to your computer and use it in GitHub Desktop.
Save leohxj/7bc928f60bfa46a3856ddf7c0f91ab98 to your computer and use it in GitHub Desktop.
cz-customizable with emoji
'use strict';
module.exports = {
types: [
{
value: 'WIP',
name : '๐Ÿ’ช WIP: Work in progress'
},
{
value: 'feat',
name : 'โœจ feat: A new feature'
},
{
value: 'fix',
name : '๐Ÿž fix: A bug fix'
},
{
value: 'refactor',
name : '๐Ÿ›  refactor: A code change that neither fixes a bug nor adds a feature'
},
{
value: 'docs',
name : '๐Ÿ“š docs: Documentation only changes'
},
{
value: 'test',
name : '๐Ÿ test: Add missing tests or correcting existing tests'
},
{
value: 'chore',
name : '๐Ÿ—ฏ chore: Changes that don\'t modify src or test files. Such as updating build tasks, package manager'
},
{
value: 'style',
name : '๐Ÿ’… style: Code Style, Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)'
},
{
value: 'revert',
name : 'โช revert: Revert to a commit'
}
],
scopes: [],
allowCustomScopes: true,
allowBreakingChanges: ["feat", "fix"]
};
@WCHENGE
Copy link

WCHENGE commented May 19, 2023

ใ€Œ้…็ฝฎไธญ allowCustomScopes ่ฎพ็ฝฎ false ใ€ๆ— ๆ•ˆ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment