Skip to content

Commit 2f976e7

Browse files
committed
chore: update devcontainer with schema settings
1 parent 9f30b4f commit 2f976e7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,21 @@
66
"postCreateCommand": "git config --global --add safe.directory /workspaces/corsair && uv sync --all-extras --dev && uv run poe install-hooks",
77
"customizations": {
88
"vscode": {
9+
"settings": {
10+
"files.trimTrailingWhitespace": true,
11+
"yaml.schemas": {
12+
"./schemas/corsair-build-schema.json": "*csrbuild.yaml",
13+
"./schemas/corsair-map-schema.json": "*csrmap.yaml"
14+
},
15+
"json.schemas": [
16+
{
17+
"fileMatch": [
18+
"*csrmap.json"
19+
],
20+
"url": "./schemas/corsair-map-schema.json"
21+
}
22+
]
23+
},
924
"extensions": [
1025
"ms-python.python",
1126
"ms-python.vscode-pylance",

0 commit comments

Comments
 (0)