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 025a1db commit 56b8feb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 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
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 56b8feb

Please sign in to comment.