mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 15:23:03 +02:00
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:
parent
659a0be2b4
commit
5ed6fe2bc9
@ -31,6 +31,8 @@ repos:
|
|||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
args: [--unsafe]
|
args: [--unsafe]
|
||||||
- id: check-json
|
- 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-toml
|
||||||
- id: check-xml
|
- id: check-xml
|
||||||
- id: check-added-large-files
|
- id: check-added-large-files
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user