mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
chore(tooling): biome 2.3+ — нативный tailwind-парсер и lineEnding auto
По фичам Biome v2.3: css.parser.tailwindDirectives снимает исключение CSS из Biome (globals.css снова под формат-контролем; линт CSS выключен override-ом — tailwind-функции theme() и пр. правила пока не знают), lineEnding auto повторяет поведение prettier endOfLine: auto (CRLF в Windows-чекаутах, LF на CI). Однократный формат-дифф globals.css 45+/45- — расхождения CSS-форматтера Biome с Prettier.
This commit is contained in:
19
biome.json
19
biome.json
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.5.3/schema.json",
|
||||
"files": {
|
||||
"includes": ["**", "!dist", "!node_modules", "!public", "!package-lock.json", "!**/*.css"]
|
||||
"includes": ["**", "!dist", "!node_modules", "!public", "!package-lock.json"]
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2,
|
||||
"lineWidth": 100,
|
||||
"lineEnding": "lf"
|
||||
"lineEnding": "auto"
|
||||
},
|
||||
"javascript": {
|
||||
"formatter": {
|
||||
@@ -48,5 +48,18 @@
|
||||
"assist": {
|
||||
"enabled": false
|
||||
},
|
||||
"plugins": ["./biome-plugins/telegram-webview-guards.grit"]
|
||||
"plugins": ["./biome-plugins/telegram-webview-guards.grit"],
|
||||
"css": {
|
||||
"parser": {
|
||||
"tailwindDirectives": true
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"includes": ["**/*.css"],
|
||||
"linter": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user