mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2025-03-13 17:56:40 -04:00
style(commit): improves pre-commit hooks
Signed-off-by: No <no@anonymousplanet.org>
This commit is contained in:
parent
721cd98fac
commit
d60e845ac3
17
.pre-commit-config.yaml
Normal file
17
.pre-commit-config.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user