How to show only the default types provided by commitizen?
tylers-username opened this issue · comments
I'd like to only show the original types provided by commitizen or otherwise cherry pick which types to hide without having to create them manually. Is this possible?
Hey Tyler,
As far as I know, commitizen
is unopinionated about commit formats and doesn't have the notion of commit types out of the box. It's left to adapters, such as cz-emoji
or cz-conventional-changelog
, to provide formatting rules and things like commit types.
Assuming you are referring to the types provided by cz-conventional-changelog
, you could cherry-pick the types you want from their configuration and customize the cz-emoji
configuration to specify your custom types.
For instance, if you want to use their feat
type which is defined as follows in their configuration:
"feat": {
"description": "A new feature",
"title": "Features"
}
You could create the same type forcz-emoji
like this:
{
"cz-emoji": {
"types": [
{
"emoji": "🌟",
"code": ":star2:",
"description": "A new feature",
"name": "feat"
}
]
}
}
Closing due to inactivity. Feel free to re-open.