From d5f1b60a73c9e107ecc7808a8f7c815ec1786bd2 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 9 Jul 2024 14:53:21 +0200 Subject: [PATCH] Enable CSS formatter in Biome config --- biome.json | 9 +++++++++ test/Test.css | 5 +---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/biome.json b/biome.json index 603c678..fca5f23 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/test/Test.css b/test/Test.css index 79d9684..fbc0b4f 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 {