@avec-platform/commitlint-config
v0.3.0
Published
Shareable commitlint config
Downloads
7
Readme
@avec-platform/commitlint-config
Shareable commitlint config.
Installation
Install dependencies:
$ npm i -D @commitlint/cli @avec-platform/commitlint-config husky
Add to package.json
:
{
"commitlint": {
"extends": [
"@avec-platform/commitlint-config"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS"
}
}
}
References
- https://github.com/marionebl/commitlint
- https://github.com/marionebl/commitlint/tree/master/%40commitlint/config-conventional
- https://github.com/typicode/husky