0.0.1 • Published 3 years ago
@kopplin/commitlint v0.0.1
@kopplin/commitlint
Kopplin's shared CommitLint configuration.
Setup
- Install the packages
npm i -D @kopplin/commitlint @commitlint/cli husky
- Install Husky
npx husky install
- Add Hook
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit $1'
- Setup config file
After installing it, apply the config to commitlint by running the following command:
echo "module.exports = { extends: ['@kopplin/commitlint'] };" > .commitlintrc.js
0.0.1
3 years ago