Skip to content

Commit 736f3f3

Browse files
committed
Enable CSS formatter in Biome config
1 parent 67f22fd commit 736f3f3

File tree

8 files changed

+16
-28
lines changed

8 files changed

+16
-28
lines changed

biome.json

Lines changed: 9 additions & 0 deletions
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"

sample/create-react-app-5/src/Sample.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
body {
22
margin: 0;
33
background-color: #525659;
4-
font-family:
5-
Segoe UI,
6-
Tahoma,
7-
sans-serif;
4+
font-family: Segoe UI, Tahoma, sans-serif;
85
}
96

107
.Example input,

sample/next-app/app/Sample.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
body {
22
margin: 0;
33
background-color: #525659;
4-
font-family:
5-
Segoe UI,
6-
Tahoma,
7-
sans-serif;
4+
font-family: Segoe UI, Tahoma, sans-serif;
85
}
96

107
.Example input,

sample/next-pages/pages/Sample.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
body {
22
margin: 0;
33
background-color: #525659;
4-
font-family:
5-
Segoe UI,
6-
Tahoma,
7-
sans-serif;
4+
font-family: Segoe UI, Tahoma, sans-serif;
85
}
96

107
.Example input,

sample/parcel2/Sample.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
body {
22
margin: 0;
33
background-color: #525659;
4-
font-family:
5-
Segoe UI,
6-
Tahoma,
7-
sans-serif;
4+
font-family: Segoe UI, Tahoma, sans-serif;
85
}
96

107
.Example input,

sample/vite/Sample.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
body {
22
margin: 0;
33
background-color: #525659;
4-
font-family:
5-
Segoe UI,
6-
Tahoma,
7-
sans-serif;
4+
font-family: Segoe UI, Tahoma, sans-serif;
85
}
96

107
.Example input,

sample/webpack5/Sample.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
body {
22
margin: 0;
33
background-color: #525659;
4-
font-family:
5-
Segoe UI,
6-
Tahoma,
7-
sans-serif;
4+
font-family: Segoe UI, Tahoma, sans-serif;
85
}
96

107
.Example input,

test/Test.css

Lines changed: 1 addition & 4 deletions
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)