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