Skip to content

Commit cd86d5a

Browse files
committed
ci: exclude .vscode JSONC files from check-json hook
1 parent f349fe7 commit cd86d5a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ repos:
3030
- id: check-case-conflict
3131
- id: check-merge-conflict
3232
- id: check-yaml
33-
args: [--unsafe] # Allow custom YAML tags
33+
args: [--unsafe] # Allow custom YAML tags
3434
exclude: ^tests/functional/.*/cassettes/.*\.yaml$
3535
- id: check-json
36+
# VS Code config files are JSONC (comments allowed); skip strict JSON parsing
37+
exclude: ^\.vscode/.*\.json$
3638
- id: check-toml
3739
- id: end-of-file-fixer
3840
exclude: ^tests/functional/.*/cassettes/.*\.yaml$

0 commit comments

Comments
 (0)