Quellcode durchsuchen

pre-commit support

Victor Seva vor 1 Jahr
Ursprung
Commit
9da5286151
1 geänderte Dateien mit 16 neuen und 0 gelöschten Zeilen
  1. 16 0
      .pre-commit-config.yaml

+ 16 - 0
.pre-commit-config.yaml

@@ -0,0 +1,16 @@
+---
+# See https://pre-commit.com for more information
+# See https://pre-commit.com/hooks.html for more hooks
+repos:
+  - repo: https://github.com/pre-commit/pre-commit-hooks
+    rev: v4.5.0
+    hooks:
+      - id: trailing-whitespace
+      - id: end-of-file-fixer
+      - id: check-merge-conflict
+      - id: mixed-line-ending
+      - id: check-added-large-files
+  - repo: https://github.com/DavidAnson/markdownlint-cli2
+    rev: v0.12.1
+    hooks:
+    - id: markdownlint-cli2