From a8c5ad55166041b948c0f821d55dcb8955d396bd Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 9 Jul 2024 12:46:57 +0200 Subject: [PATCH] Enable CSS formatter in Biome config --- biome.json | 9 +++++++++ packages/react-calendar/src/Calendar.css | 2 +- test/Test.css | 5 +---- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/biome.json b/biome.json index 2ae842d5..02caffa1 100644 --- a/biome.json +++ b/biome.json @@ -17,6 +17,15 @@ } } }, + "css": { + "formatter": { + "enabled": true, + "indentStyle": "space", + "indentWidth": 2, + "lineWidth": 100, + "quoteStyle": "single" + } + }, "javascript": { "formatter": { "quoteStyle": "single" diff --git a/packages/react-calendar/src/Calendar.css b/packages/react-calendar/src/Calendar.css index 82baa28d..9de8e2cd 100644 --- a/packages/react-calendar/src/Calendar.css +++ b/packages/react-calendar/src/Calendar.css @@ -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; } diff --git a/test/Test.css b/test/Test.css index edb594cf..82b7b2c8 100644 --- a/test/Test.css +++ b/test/Test.css @@ -1,9 +1,6 @@ body { margin: 0; - font-family: - Segoe UI, - Tahoma, - sans-serif; + font-family: Segoe UI, Tahoma, sans-serif; } .Test header {