soerenschneider / conventional-pre-commit-hook

Hook for pre-commit that checks whether commit messages are formatted adhering to conventional commits.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conventional-pre-commit-hook

Hook for pre-commit that checks whether commit messages are formatted adhering to conventional commits.

Installation

If you're not already using pre-commit, create a .pre-commit-config.yaml file in your repository with the following content

---
repos:
  - repo: https://github.com/soerenschneider/conventional-pre-commit-hook
    rev: v1.0.0
    hooks:
      - id: conventional-commit

Initialize pre-commit using pre-commit install --hook-type commit-msg

Demo

demo

About

Hook for pre-commit that checks whether commit messages are formatted adhering to conventional commits.

License:Apache License 2.0


Languages

Language:Shell 95.7%Language:Makefile 4.3%