README
CommitLint Configuration
Lines the commit message and also runs the code through the linters and does not pass commit if errors are found
Installation
npm i @alexlit/config-commitlint -D
Connection
// .commitlintrc.js
module.exports = {
extends: ['@alexlit/config-commitlint'],
};
// .huskyrc.js
module.exports = {
hooks: {
'commit-msg': 'commitlint -E HUSKY_GIT_PARAMS',
},
};