Skip to content

Commit 2d8cc06

Browse files
committed
Add css config for biome
1 parent db2b2fd commit 2d8cc06

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

biome.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,12 @@
3737
"attributePosition": "auto",
3838
"bracketSpacing": true
3939
}
40+
},
41+
"css": {
42+
"formatter": {
43+
"indentStyle": "tab",
44+
"indentWidth": 2,
45+
"quoteStyle": "double"
46+
}
4047
}
4148
}

vlitejs.code-workspace

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"settings": {
88
"editor.defaultFormatter": "biomejs.biome",
9-
"[javascript][typescript][postcss][html][markdown][json][markdown]": {
9+
"[javascript][typescript][css][html][markdown][json][markdown]": {
1010
"editor.formatOnSave": true,
1111
"editor.tabSize": 4,
1212
"editor.rulers": [100]
@@ -19,7 +19,7 @@
1919
},
2020
"editor.tabSize": 4,
2121
"files.associations": {
22-
"*.css": "postcss",
22+
"*.css": "css",
2323
"*.html": "html",
2424
"*.ts": "typescript",
2525
"*.json": "json",

0 commit comments

Comments
 (0)