Skip to content

Commit

Permalink
Add css config for biome
Browse files Browse the repository at this point in the history
  • Loading branch information
yoriiis committed Jan 31, 2025
1 parent db2b2fd commit 2d8cc06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,12 @@
"attributePosition": "auto",
"bracketSpacing": true
}
},
"css": {
"formatter": {
"indentStyle": "tab",
"indentWidth": 2,
"quoteStyle": "double"
}
}
}
4 changes: 2 additions & 2 deletions vlitejs.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"settings": {
"editor.defaultFormatter": "biomejs.biome",
"[javascript][typescript][postcss][html][markdown][json][markdown]": {
"[javascript][typescript][css][html][markdown][json][markdown]": {
"editor.formatOnSave": true,
"editor.tabSize": 4,
"editor.rulers": [100]
Expand All @@ -19,7 +19,7 @@
},
"editor.tabSize": 4,
"files.associations": {
"*.css": "postcss",
"*.css": "css",
"*.html": "html",
"*.ts": "typescript",
"*.json": "json",
Expand Down

0 comments on commit 2d8cc06

Please sign in to comment.