Shareable
commitlint
config enforcing conventional commits.
npm install --save-dev husky @commitlint/cli @merkle-open/commitlint-conventional-changelog
package.json
...
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
},
...
},
"commitlint": {
"extends": [
"@merkle-open/commitlint-conventional-changelog"
]
},
...