From 56b8feb5216958ef4997b5f9234faae20ac6f6b0 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Tue, 9 Jul 2024 14:36:58 +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 2ae842d58..02caffa10 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 895efbb8f..ba4af3037 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 {