From 2adf60320d26aaef3de9ef5eeb54bb3a4882a0d6 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 24 Sep 2024 00:42:43 +1000 Subject: [PATCH] Add `pre-commit` hook `check-json` https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#check-json Adds another check/test to our pre-commit framework for checking JSON files We have one JSON file at `.github/linters/mlc_config.json` --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d41be2eb6..86c426ecb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,6 +17,7 @@ repos: - id: check-case-conflict - id: check-executables-have-shebangs exclude: ^test/t/lang\.rb$ + - id: check-json - id: check-merge-conflict - id: check-shebang-scripts-are-executable - id: check-vcs-permalinks