/cz-adapter-eslint

A commitizen adapter for the conventional-changelog eslint preset.

Primary LanguageJavaScript

cz-adapter-eslint

npm version npm downloads

A commitizen adapter for the conventional-changelog eslint preset.

Installation

Global

npm install --global cz-adapter-elint

# Set as the default adapater.
echo '{ "path": "cz-adapter-eslint" }' > ~/.czrc

Local

npm install --save-dev cz-adapter-eslint
"config": {
    "commitizen": {
        "path": "./node_modules/cz-adapter-eslint"
    }
}

Usage

Once installed, stage your changes and run

git cz

instead of git commit.