Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 628 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 628 Bytes

pre-commit-conventional-commits

This is a very basic pre-commit hook to ensure your commit messages conform to Conventional Commits

To enable this for your repo, install pre-commit and run pre-commit install --hook-type commit-msg. You'll want to ensure that your .pre-commit-config.yaml is set to the stage commit-msg as shown in the below example:

repos:
  - repo: https://github.com/ari1988/pre-commit-conventional
    rev: v1.0.2
    hooks:
      - id: conventional-commit-check
        stages: [commit-msg]
        args: []