[internal] Tweak jsonc formatting

This commit is contained in:
Jarred Sumner
2024-01-25 19:19:32 -08:00
parent e3188c918a
commit 3c42dfd42b
2 changed files with 14 additions and 0 deletions

10
.vscode/settings.json vendored
View File

@@ -17,6 +17,16 @@
"zig.buildFilePath": "${workspaceFolder}/build.zig",
"zig.initialSetupDone": true,
"editor.formatOnSave": true,
// We are using biome instead of prettier.
"prettier.enable": false,
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[zig]": {
"editor.tabSize": 4,
"editor.useTabStops": false,

View File

@@ -22,6 +22,10 @@
"json": {
"formatter": {
"indentStyle": "space"
},
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
},
"vcs": {