A pre-commit hook that validates commit messages against the Conventional Commits specification. Supports husky-style configuration and custom patterns. Version 4.4.0, actively maintained, released monthly.
pip install conventional-pre-commitNo compatibility data collected yet for this library.
Minimal pre-commit config to validate commit messages.
Set stages: [commit-msg] in your hook config.
Use args: [--strict] in the hook definition.
Update commit messages to match spec or use --no-verify temporarily.
Use one of the allowed types or add --types 'type1,type2' to allow custom types.
Use the correct argument: --force-scope (double dash). Check official docs.
No dependency data recorded yet.