From 0abc2f30aee4b4f2019b6f6b2205bf0bd693c893 Mon Sep 17 00:00:00 2001 From: kewldan <40865857+kewldan@users.noreply.github.com> Date: Sun, 12 Jul 2026 00:44:35 +0300 Subject: [PATCH] =?UTF-8?q?chore(tooling):=20=D1=82=D0=BE=D1=87=D0=B5?= =?UTF-8?q?=D1=87=D0=BD=D1=8B=D0=B9=20CSS-=D0=BB=D0=B8=D0=BD=D1=82=20?= =?UTF-8?q?=D0=B2=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit По итогам разбора Biome 2.5 x Tailwind v3: noUnknownAtRules и noUnknownFunction не выключаем, а используем их опцию ignore (tailwind; theme/screen) - детект опечаток в at-rules и функциях сохраняется. noDuplicateProperties off: наши дубли - прогрессивные фолбэки (100dvh -> var(--tg-viewport-stable-height)), опции "разрешить фолбэки" нет (biomejs/biome#6051). noImportantStyles off: все 31 !important осознанные. @tailwind в ignore из-за biomejs/biome#7899 (tailwindDirectives их пока не покрывает). --- biome.json | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/biome.json b/biome.json index 0cd1d3a..7485a43 100644 --- a/biome.json +++ b/biome.json @@ -58,7 +58,28 @@ { "includes": ["**/*.css"], "linter": { - "enabled": false + "rules": { + "suspicious": { + "noDuplicateProperties": "off", + "noUnknownAtRules": { + "options": { + "ignore": ["tailwind"] + }, + "level": "error" + } + }, + "correctness": { + "noUnknownFunction": { + "options": { + "ignore": ["theme", "screen"] + }, + "level": "error" + } + }, + "complexity": { + "noImportantStyles": "off" + } + } } } ]