From 2061f8808b0208a6e8b467416cf8021f75d250f0 Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Tue, 14 Apr 2026 12:35:10 +0200 Subject: [PATCH] style(front): apply biome recos --- biome.json | 85 +++++++++++++++---------------- static/css/components/dialogs.css | 2 +- 2 files changed, 43 insertions(+), 44 deletions(-) diff --git a/biome.json b/biome.json index bc78cb5d..7f0377a0 100644 --- a/biome.json +++ b/biome.json @@ -1,48 +1,47 @@ { - "files": { - "includes": ["static/**/*.js", "static/**/*.css", "static/**/*.json" ] - }, - "formatter": { - "enabled": true, - "indentStyle": "space", - "indentWidth": 4, - "lineWidth": 160, - "lineEnding": "lf" - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true, - "correctness": { - "noUnusedVariables": "warn" - }, - "style": { - "noDescendingSpecificity": "off" - }, - "complexity": { - "noImportantStyles": "off" - } - } - }, - "javascript": { - "formatter": { - "indentStyle": "space", - "indentWidth": 4, - "quoteStyle": "single", - "semicolons": "always", - "trailingCommas": "none", - "bracketSameLine": false, - "bracketSpacing": true, - "operatorLinebreak": "after" - - } - }, - "css": { - "linter": { - "enabled": true + "files": { + "includes": ["static/**/*.js", "static/**/*.css", "static/**/*.json"] }, "formatter": { - "enabled": true + "enabled": true, + "indentStyle": "space", + "indentWidth": 4, + "lineWidth": 160, + "lineEnding": "lf" + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "correctness": { + "noUnusedVariables": "warn" + }, + "style": { + "noDescendingSpecificity": "off" + }, + "complexity": { + "noImportantStyles": "off" + } + } + }, + "javascript": { + "formatter": { + "indentStyle": "space", + "indentWidth": 4, + "quoteStyle": "single", + "semicolons": "always", + "trailingCommas": "none", + "bracketSameLine": false, + "bracketSpacing": true, + "operatorLinebreak": "after" + } + }, + "css": { + "linter": { + "enabled": true + }, + "formatter": { + "enabled": true + } } - } } diff --git a/static/css/components/dialogs.css b/static/css/components/dialogs.css index 6ed90bf9..691677bd 100644 --- a/static/css/components/dialogs.css +++ b/static/css/components/dialogs.css @@ -501,7 +501,7 @@ .playlist-track-count { margin-left: auto; font-size: 12px; - color: var( --color-text-muted); + color: var(--color-text-muted); } /* Custom confirm dialog */