added pre-commit config

This commit is contained in:
Tobias Schmidl 2024-11-11 15:48:25 +01:00
parent 873c3cc7f6
commit a84e521291

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

@ -0,0 +1,21 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-byte-order-marker
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
hooks:
- id: markdownlint
args: ["--disable", "MD013", "--"]
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
...