From 176f0405b87a91ea9797f16d269bffba71637534 Mon Sep 17 00:00:00 2001 From: Jan Polensky Date: Mon, 8 Sep 2025 18:32:20 +0200 Subject: [PATCH] .pre-commit-config.yaml: Add check-yaml, check-json and check-toml hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These hooks validate syntax of YAML, JSON and TOML files using pre-commit-hooks. Link: https://github.com/pre-commit/pre-commit-hooks Reviewed-by: Marc Hartmayer Reviewed-by: Jan Höppner Signed-off-by: Jan Polensky Signed-off-by: Jan Höppner --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6d4a5e28..effef341 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,9 @@ repos: - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable exclude_types: ['rust'] + - id: check-yaml + - id: check-json + - id: check-toml - repo: local hooks: - id: git-clang-format