a gitmojis adapter for cz-git prompts
pnpm add -D cz-git-prompts
Ensure you have czg
cli or commitizen
+ czg-git
installed.
Echo the following code to your commitlint config(e.g.commitlint.config.js
) or czg config(e.g. cz-config.js
):
// for `commitlint.config.js`
import promptsConfig from 'cz-git-prompts'
export default {
// ...
...promptsConfig,
}
// for `cz-config.js`
export default {
// ...
...promptsConfig.prompt,
}
About cz-git
prompts, see cz-git