Skip to content

Commit 05e9f51

Browse files
committed
ci: vscode formatting settings
1 parent 00dff2f commit 05e9f51

File tree

1 file changed

+36
-3
lines changed

1 file changed

+36
-3
lines changed

.vscode/settings.json

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,42 @@
11
{
22
"editor.defaultFormatter": "biomejs.biome",
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll.biome": "explicit",
5+
"source.organizeImports.biome": "explicit",
6+
"source.organizeImports": "never"
7+
},
8+
"editor.formatOnSave": true,
9+
10+
"[css]": {
11+
"editor.defaultFormatter": "biomejs.biome"
12+
},
13+
14+
"[typescript]": {
15+
"editor.defaultFormatter": "biomejs.biome"
16+
},
17+
18+
"[typescriptreact]": {
19+
"editor.defaultFormatter": "biomejs.biome"
20+
},
21+
22+
"[json]": {
23+
"editor.defaultFormatter": "biomejs.biome"
24+
},
25+
26+
"[jsonc]": {
27+
"editor.defaultFormatter": "biomejs.biome"
28+
},
29+
330
"json.schemas": [
431
{
5-
"url": "https://cdn.jsdelivr.net/npm/tsup/schema.json",
6-
"fileMatch": ["package.json", "tsup.config.json"]
32+
"fileMatch": ["biome.json"],
33+
"url": "./node_modules/@biomejs/biome/configuration_schema.json"
34+
},
35+
{
36+
"fileMatch": ["package.json", "tsup.config.json"],
37+
"url": "https://cdn.jsdelivr.net/npm/tsup/schema.json"
738
}
8-
]
39+
],
40+
41+
"typescript.tsdk": "node_modules/typescript/lib"
942
}

0 commit comments

Comments
 (0)