Skip to content

Commit c15ffcc

Browse files
committed
Enable CSS formatter in Biome config
1 parent 2cfd491 commit c15ffcc

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
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"

packages/react-datetime-picker/src/DateTimePicker.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
padding: 1px;
4949
border: 0;
5050
background: none;
51-
color: currentColor;
51+
color: currentcolor;
5252
font: inherit;
5353
box-sizing: content-box;
5454
-webkit-appearance: textfield;

sample/Sample.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ body {
55

66
body {
77
margin: 0;
8-
font-family: Segoe UI, Tahoma, sans-serif;
8+
font-family: 'Segoe UI', 'Tahoma', sans-serif;
99
}
1010

1111
.Sample 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)