Shared Commitlint config for all my projects
yarn add --dev @albizures/commitlint
then in commitlint.config.js
module.exports = require('@albizures/commitlint');
In order to check commit messages is necessary to setup husky
yarn add --dev husky
yarn husky install
yarn husky add .husky/commit-msg 'yarn commitlint --edit "$1"'
If you have any feedback, please reach out to me at @albzrs