@carlos3g/commitlint-config
v0.1.0
Published
Shared commitlint config — carlos3g's code style
Maintainers
Readme
@carlos3g/commitlint-config
Shared commitlint config — the commit-message half of carlos3g's code style.
Conventional Commits: English, imperative, lowercase.
yarn add -D @carlos3g/commitlint-config @commitlint/cliReference it from .commitlintrc.json:
{
"extends": ["@carlos3g/commitlint-config"]
}Then wire it into a commit-msg git hook (e.g. with
husky):
npx --no -- commitlint --edit "$1"What it sets
Re-exports @commitlint/config-conventional.
The indirection exists so every project references one versioned source — and
so project-wide rule tweaks happen here, once.
License
MIT © carlos3g
