feat(pre-commit): skip .vscode JSONC in the generated check-json hook #1160
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!1160
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/check-json-vscode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
VS Code documents
launch.json,tasks.json, andsettings.jsonas JSONC, so those files carry//comments by design and a strict JSON parser cannot read them. That is true of every consumer rather than a per-repo choice, so the exclude is fixed on the hook instead of declared in a consumer's pyproject.Renaming is not an option: VS Code resolves those three by exact name.
Found via coilyco-gaming/eco-ops#91, where
mods/.vscode/launch.jsonwas the sole check-json failure.This commit was originally pushed onto the #1159 branch a few minutes after that PR merged, so it never reached
main. Same change, rebased onto currentmain.Refs coilyco-gaming/eco-ops#91