@rocklab/commitlint-config
v3.2.103
Published
A shareable commitlint config
Downloads
144
Readme
Rocklab Commit Style Guide
Commit rules for JavaScript projects
Commitlint shareable configs
Requirements
Install commitlint
and husky
npm install --save-dev @commitlint/cli
npm install husky --save-dev
npx husky install
Installation
npm install --save-dev @rocklab/commitlint-config
npx husky add .husky/commit-msg 'npx --no -- commitlint --edit $1'
Usage
commitlint.config.js
// commitlint.config.js
module.exports = {
extends: ['@rocklab'],
};