Shared Conventional Commits policy for commit messages and pull request titles.
@hoverkraft/commitlint-config keeps commit and pull request rules consistent
across repositories through one versioned preset. It extends
@commitlint/config-conventional and applies the same policy to every author,
including dependency bots.
- Conventional errors such as unsupported types and missing subjects stay blocking.
- Subject casing and lines longer than 100 characters produce warnings.
- Repositories can override individual rules, including choosing stricter limits.
Node.js 24 or later and npm.
Install a published version with commitlint:
npm install --save-dev --save-exact @commitlint/cli @hoverkraft/commitlint-configConfigure .commitlintrc.json at the repository root:
{
"extends": ["@hoverkraft/commitlint-config"]
}Commit the manifest, lockfile and configuration. See the usage guide for local hooks, CI and Dependabot configuration.
Follow the development guide for setup, linting and validation. Use Conventional Commits for commit messages and pull request titles.
Report issues in the GitHub repository.
MIT License. See LICENSE for details.