From 777f9d3fd8caf56e6bc6999a4b05379307d0733f Mon Sep 17 00:00:00 2001 From: Justin Gassner Date: Tue, 12 Sep 2023 07:36:33 +0200 Subject: Initial commit --- .pre-commit-config.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .pre-commit-config.yaml (limited to '.pre-commit-config.yaml') 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 -- cgit v1.2.3-54-g00ecf