Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kdheepak/conventional-commits-precommit
https://github.com/kdheepak/conventional-commits-precommit
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kdheepak/conventional-commits-precommit
- Owner: kdheepak
- License: mit
- Created: 2021-09-17T10:45:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-05T08:37:36.000Z (3 months ago)
- Last Synced: 2024-10-15T16:53:26.765Z (2 months ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Conventional commits precommit hook
```yaml
# Make sure to set the default_stages in your config file
# to prevent installing hooks multiple times inadvertently
default_stages: [commit]repos:
- repo: https://github.com/kdheepak/conventional-commits-precommit
rev: v0.3.8
hooks:
- id: check-commit-msg
```Then run `pre-commit install -t commit-msg` and you're ready to go.
If you don't want emojis to be auto appended, use the environment variable `CONVENTIONAL_COMMITS_PRECOMMIT_NOEMOJI=true`.