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 aff6b3b commit a8c5ad5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 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-calendar/src/Calendar.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
max-width: 100%;
background: white;
border: 1px solid #a0a096;
font-family: Arial, Helvetica, sans-serif;
font-family: 'Arial', 'Helvetica', sans-serif;
line-height: 1.125em;
}

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 a8c5ad5

Please sign in to comment.