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.
yarn add -D @growsuper/commitlint-config @commitlint/{config-conventional,cli}
module.exports = {
extends: ['@growsuper/commitlint-config'],
};
{
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}
That's it ✨