thgtoa/.pre-commit-config.yaml
No d60e845ac3
style(commit): improves pre-commit hooks
Signed-off-by: No <no@anonymousplanet.org>
2024-07-14 01:15:49 -04:00

18 lines
402 B
YAML

repos:
- hooks:
- id: end-of-file-fixer
- id: mixed-line-ending
args: [--fix=lf]
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-merge-conflict
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
- hooks:
- id: commitizen
- id: commitizen-branch
stages:
- push
repo: https://github.com/commitizen-tools/commitizen
rev: v3.13.0