@jneander/commitlint-config
v1.0.1
Published
Personal commitlint configuration
Downloads
3
Readme
@jneander/commitlint-config
Shareable commitlint configuration for consistent commits across repositories.
Installation
npm install @commitlint/cli @jneander/commitlint-config --save-dev
Usage
Add this to your package.json
:
// package.json
{
"scripts": {
"lint:commits": "commitlint --from origin/main --to HEAD"
},
"commitlint": {
"extends": "@jneander/commitlint-config"
}
}
Now when you run npm run lint:commits
commitlint will lint your recent commits.