Add pre-commit for yaml

This commit is contained in:
ItsDrike 2021-07-07 14:15:32 +02:00
parent 16b2c4392e
commit 0e058e14ca
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

9
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,9 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]