summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@mailbox.org>2023-11-17 02:07:19 +0100
committerJustin Gassner <justin.gassner@mailbox.org>2023-11-17 02:07:19 +0100
commitb2f074f14d0a2fab8b1d1b68bb26ceb82c0bd689 (patch)
tree3ac8c9e134a43f506fddab7e5fe2e784093658d1 /.pre-commit-config.yaml
parent7267b4f9a08ef49e4608cc24431dfa64db4e2814 (diff)
downloadmaster-b2f074f14d0a2fab8b1d1b68bb26ceb82c0bd689.tar.zst
weiter
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..5dec15d
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,33 @@
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.4.0
+ hooks:
+ #- id: file-contents-sorter
+ #files: \.(txt)$
+ - id: check-added-large-files
+ - id: check-case-conflict
+ - id: check-executables-have-shebangs
+ - id: check-merge-conflict
+ - id: check-shebang-scripts-are-executable
+ - id: check-symlinks
+ - id: check-vcs-permalinks
+ - id: check-yaml
+ - id: destroyed-symlinks
+ - id: end-of-file-fixer
+ - id: fix-byte-order-marker
+ - id: mixed-line-ending
+ - id: trailing-whitespace
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: v3.0.3
+ hooks:
+ - id: prettier
+ types_or: [yaml]
+ - repo: https://github.com/streetsidesoftware/cspell-cli
+ rev: v7.3.0
+ hooks:
+ - id: cspell
+ - repo: https://github.com/adrienverge/yamllint.git
+ rev: v1.29.0
+ hooks:
+ - id: yamllint
+ args: [--strict]