From 810e4da006c334cca933acb83eb8b817a1485c2b Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 9 Jul 2024 12:51:21 +0200 Subject: [PATCH] Enable CSS formatter in Biome config --- biome.json | 9 +++++++++ packages/react-date-picker/src/DatePicker.css | 2 +- sample/Sample.css | 2 +- test/Test.css | 5 +---- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/biome.json b/biome.json index 603c678ac..fca5f238b 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-date-picker/src/DatePicker.css b/packages/react-date-picker/src/DatePicker.css index 69b5806c9..50038babe 100644 --- a/packages/react-date-picker/src/DatePicker.css +++ b/packages/react-date-picker/src/DatePicker.css @@ -49,7 +49,7 @@ padding: 0 1px; border: 0; background: none; - color: currentColor; + color: currentcolor; font: inherit; box-sizing: content-box; -webkit-appearance: textfield; diff --git a/sample/Sample.css b/sample/Sample.css index 8e6390ab8..9e22db2ad 100644 --- a/sample/Sample.css +++ b/sample/Sample.css @@ -5,7 +5,7 @@ body { body { margin: 0; - font-family: Segoe UI, Tahoma, sans-serif; + font-family: 'Segoe UI', 'Tahoma', sans-serif; } .Sample input, diff --git a/test/Test.css b/test/Test.css index 79d9684ec..bab4ca7e3 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 {