@repodog/commitlint-config
v19.0.5
Published
The Repodog Commitlint config module.
Readme
@repodog/commitlint-config
The Repodog Commitlint config.
Install package and peer dependencies
# terminal
npm install @repodog/commitlint-config @commitlint/cli husky --save-devInitialize husky
# terminal
npx husky init
echo "npx --no -- commitlint --edit \$1" > .husky/commit-msgUse package
// commitlint.config.cjs
module.exports = {
extends: ['@repodog/commitlint-config'],
};Make .husky/ executable
If you get the error The '.husky/commit-msg' hook was ignored because it's not set as executable. when trying to create a commit, please run the command chmod ug+x .husky/* from your project root and then create the commit again.
