Skip to content

Commit

Permalink
Enable CSS formatter in Biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 9, 2024
1 parent b1a6849 commit 810e4da
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
9 changes: 9 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
}
}
},
"css": {
"formatter": {
"enabled": true,
"indentStyle": "space",
"indentWidth": 2,
"lineWidth": 100,
"quoteStyle": "single"
}
},
"javascript": {
"formatter": {
"quoteStyle": "single"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-date-picker/src/DatePicker.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
padding: 0 1px;
border: 0;
background: none;
color: currentColor;
color: currentcolor;
font: inherit;
box-sizing: content-box;
-webkit-appearance: textfield;
Expand Down
2 changes: 1 addition & 1 deletion sample/Sample.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ body {

body {
margin: 0;
font-family: Segoe UI, Tahoma, sans-serif;
font-family: 'Segoe UI', 'Tahoma', sans-serif;
}

.Sample input,
Expand Down
5 changes: 1 addition & 4 deletions test/Test.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
body {
margin: 0;
font-family:
Segoe UI,
Tahoma,
sans-serif;
font-family: 'Segoe UI', 'Tahoma', sans-serif;
}

.Test header {
Expand Down

0 comments on commit 810e4da

Please sign in to comment.