summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@mailbox.org>2023-09-12 07:36:33 +0200
committerJustin Gassner <justin.gassner@mailbox.org>2024-01-13 20:41:27 +0100
commit777f9d3fd8caf56e6bc6999a4b05379307d0733f (patch)
treedc42d2ae9b4a8e7ee467f59e25c9e122e63f2e04 /.pre-commit-config.yaml
downloadsite-777f9d3fd8caf56e6bc6999a4b05379307d0733f.tar.zst
Initial commit
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..c518df3
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,46 @@
+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: [ruby, yaml]
+ - repo: https://github.com/streetsidesoftware/cspell-cli
+ rev: v7.3.0
+ hooks:
+ - id: cspell
+ - repo: https://github.com/klieret/jekyll-relative-url-check
+ rev: v2.0.2
+ hooks:
+ - id: jekyll-relative-url-check-markdown
+ - id: jekyll-relative-url-check-html
+ - repo: https://github.com/adrienverge/yamllint.git
+ rev: v1.29.0
+ hooks:
+ - id: yamllint
+ args: [--strict]
+ - repo: https://github.com/Calinou/pre-commit-luacheck
+ rev: v1.0.0
+ hooks:
+ - id: luacheck
+ - repo: https://github.com/JohnnyMorganz/StyLua
+ rev: v0.18.2
+ hooks:
+ - id: stylua-system