@growsuper/commitlint-config
v1.2.0
Published
Grow Super's commitlint config to follow our Git commit standards
Downloads
2,361
Maintainers
Readme
@growsuper/commitlint-config
Grow Super's commitlint configuration, following our git standards.
This config should be used with Husky already installed, make sure to set that up first.
Set up and usage
1. Install dependencies
yarn add -D @growsuper/commitlint-config @commitlint/{config-conventional,cli}
2. Create a commitlint.config.js
file in the root of your project and paste the following:
module.exports = {
extends: ['@growsuper/commitlint-config'],
};
3. Add the following to package.json
:
{
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
That's it ✨