mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
chore(tooling): точечный CSS-линт вместо полного отключения
По итогам разбора 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 их пока не покрывает).
This commit is contained in:
23
biome.json
23
biome.json
@@ -58,7 +58,28 @@
|
|||||||
{
|
{
|
||||||
"includes": ["**/*.css"],
|
"includes": ["**/*.css"],
|
||||||
"linter": {
|
"linter": {
|
||||||
"enabled": false
|
"rules": {
|
||||||
|
"suspicious": {
|
||||||
|
"noDuplicateProperties": "off",
|
||||||
|
"noUnknownAtRules": {
|
||||||
|
"options": {
|
||||||
|
"ignore": ["tailwind"]
|
||||||
|
},
|
||||||
|
"level": "error"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"correctness": {
|
||||||
|
"noUnknownFunction": {
|
||||||
|
"options": {
|
||||||
|
"ignore": ["theme", "screen"]
|
||||||
|
},
|
||||||
|
"level": "error"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"complexity": {
|
||||||
|
"noImportantStyles": "off"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user