Skip to content

Commit 0f58758

Browse files
committed
Enable CSS formatter in Biome config
1 parent 10cb727 commit 0f58758

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

biome.json

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
}
1818
}
1919
},
20+
"css": {
21+
"formatter": {
22+
"enabled": true,
23+
"indentStyle": "space",
24+
"indentWidth": 2,
25+
"lineWidth": 100,
26+
"quoteStyle": "single"
27+
}
28+
},
2029
"javascript": {
2130
"formatter": {
2231
"quoteStyle": "single"

test/Test.css

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
body {
22
margin: 0;
3-
font-family:
4-
Segoe UI,
5-
Tahoma,
6-
sans-serif;
3+
font-family: Segoe UI, Tahoma, sans-serif;
74
}
85

96
.Test header {

0 commit comments

Comments
 (0)