shareable config for commitlint
This config extends commitlint-config-travi
$ npm install commitlint-config-dsmjs --save-dev
$ echo "module.exports = {extends: ['dsmjs']};" > .commitlintrc.js
Define the npm script for husky
{
"scripts": {
"commitmsg": "commitlint -e"
}
}