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`
This commit is contained in:
John Bampton
2024-09-24 00:42:43 +10:00
parent 919a689517
commit 2adf60320d
+1
View File
@@ -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