Open alebianco opened 5 years ago
The default config should not have emoji field set on false, that's always disabling emojis in the merge. Should be:
const config = _.merge(commitizen.configLoader.load(), {
'cz-conventional-commit': {maxSubjectLength: 72, bodyLineLength: 100},
})['cz-conventional-commit'];
A fixed version is available on: https://github.com/ronnieacs/cz-conventional-commit
Emojis cannot be enabled from the configuration file, the default configuration always takes precedence when the package is initialised.
https://github.com/pvdlg/cz-conventional-commit/blob/e0c01ca6e4b616383dacfc389dfc49109e8c62d2/index.js#L8-L10