fix: exclude JSONC files from JSON validation

Exclude VS Code config files (.vscode/), TypeScript configs (tsconfig*.json),
and compile_commands.json from strict JSON validation since they use JSONC format
This commit is contained in:
Krzysztof kuhy Rudnicki 2025-11-30 13:46:04 +01:00
parent 659a0be2b4
commit 5ed6fe2bc9

View File

@ -31,6 +31,8 @@ repos:
- id: check-yaml
args: [--unsafe]
- id: check-json
# Exclude JSONC files (VS Code configs, TypeScript configs) and compile_commands.json
exclude: ^(\.vscode/|.*/\.vscode/|C/compile_commands\.json|.*tsconfig.*\.json)
- id: check-toml
- id: check-xml
- id: check-added-large-files