From c6acc328c0e603bdf990cb5940550c2e499278255bd766875e48eab2d474eaff Mon Sep 17 00:00:00 2001 From: schtobia Date: Sun, 24 Nov 2024 08:07:05 +0100 Subject: [PATCH] =?UTF-8?q?.pre-commit-config.yaml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..875e765 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,42 @@ +# SPDX-FileCopyrightText: 2024 Tobias Schmidl +# +# SPDX-License-Identifier: AGPL-3.0-or-later + +--- +repos: +- repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - id: check-merge-conflict + - id: check-byte-order-marker +- repo: https://github.com/fsfe/reuse-tool + rev: v5.0.2 + hooks: + - id: reuse +- repo: https://github.com/editorconfig-checker/editorconfig-checker.python + rev: '3.0.3' + hooks: + - id: editorconfig-checker + alias: ec + stages: [pre-commit] +- repo: https://github.com/shellcheck-py/shellcheck-py + rev: v0.10.0.1 + hooks: + - id: shellcheck +- repo: https://github.com/compilerla/conventional-pre-commit + rev: v3.6.0 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] +- repo: https://github.com/iamthefij/docker-pre-commit + rev: v3.0.1 + hooks: + - id: docker-compose-check +- repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.43.0 + hooks: + - id: markdownlint +...