Last active
May 19, 2023 03:49
-
-
Save leohxj/7bc928f60bfa46a3856ddf7c0f91ab98 to your computer and use it in GitHub Desktop.
cz-customizable with emoji
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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"] | |
}; |
「配置中 allowCustomScopes 设置 false 」无效
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scoope 输入的时候, 留空?
或者配置中 allowCustomScopes �设置 false 看看