A commitizen adapter for the conventional-changelog eslint preset.
npm install --global cz-adapter-eslint
# Set as the default adapter.
echo '{ "path": "cz-adapter-eslint" }' > ~/.czrc
npm install --save-dev cz-adapter-eslint
"config": {
"commitizen": {
"path": "./node_modules/cz-adapter-eslint"
}
}
Once installed, stage your changes and run
git cz
instead of git commit
.