marionebl / commitlint
- понедельник, 20 ноября 2017 г. в 03:14:46
📓 Lint commit messages
Lint commit messages
commitizen
npm
conventional-changelog
# Install commitlint cli and angular config
npm install --save-dev @commitlint/{config-angular,cli}
# Configure commitlint to use angular config
echo "module.exports = {extends: ['@commitlint/config-angular']}" > commitlint.config.js
npm install --save-dev @commitlint/cli
commitlint.config.js
, .commitlintrc.js
, .commitlintrc.json
, or .commitlintrc.yml
file or a commitlint
field in package.json
A number of shared configurations are available to install and use with commitlint
:
commitlint
npm install --save @commitlint/core
>= 4.8
>= 2
Copyright by @marionebl. All commitlint
packages are released under the MIT license.
commitlint
is developed in a mono repository.
git clone git@github.com:marionebl/commitlint.git
cd commitlint
npx yarn install
npx yarn run build # run build tasks
npx yarn start # run tests, again on change
npx yarn run clean
npx yarn install
npx yarn run build
npx yarn test
npx yarn run publish