-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed as not planned
Labels
needs reproductionRequires a reproductionRequires a reproduction
Description
Zed version
Zed 0.209.6
Extension version
0.2.2
Biome version
2.3.1
Operating system
- Windows
- macOS
- Linux
Description
With the release of Biome 2.3, support for tailwind directives has landed. The Biome extension in Zed flags these supported rules as 'Unknown' even with explicit support enabled in biome.js.
No issues when running via CLI:
bunx biome check src/styles/global.css
Checked 1 file in 1399Β΅s. No fixes applied.Steps to reproduce
// .zed/settings.json:
{
"format_on_save": "on",
"languages": {
"Astro": {
"language_servers": ["!biome", "..."]
},
"CSS": {
"formatter": [
{ "language_server": { "name": "biome" } },
{ "code_action": "source.organizeImports.biome" },
{ "code_action": "source.fixAll.biome" }
]
},
"JavaScript": {
"formatter": [
{ "language_server": { "name": "biome" } },
{ "code_action": "source.organizeImports.biome" },
{ "code_action": "source.fixAll.biome" }
]
},
"JSON": {
"formatter": [
{ "language_server": { "name": "biome" } },
{ "code_action": "source.organizeImports.biome" },
{ "code_action": "source.fixAll.biome" }
]
},
"JSONC": {
"formatter": [
{ "language_server": { "name": "biome" } },
{ "code_action": "source.organizeImports.biome" },
{ "code_action": "source.fixAll.biome" }
]
},
"TSX": {
"formatter": [
{ "language_server": { "name": "biome" } },
{ "code_action": "source.organizeImports.biome" },
{ "code_action": "source.fixAll.biome" }
]
},
"TypeScript": {
"formatter": [
{ "language_server": { "name": "biome" } },
{ "code_action": "source.organizeImports.biome" },
{ "code_action": "source.fixAll.biome" }
]
}
}
}// biome.json
{
"$schema": "https://biomejs.dev/schemas/2.3.1/schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": "on",
"useSortedKeys": "on"
}
},
"enabled": true
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"files": {
"ignoreUnknown": true,
"includes": ["**", "!**/*.astro"]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
},
"vcs": {
"clientKind": "git",
"enabled": true,
"useIgnoreFile": true
}
}Expected behavior
Biome extension should not flag tailwind directives when enabled in biome.json.
Does this issue occur when using the CLI directly?
No
Link to a minimal reproduction
No response
Metadata
Metadata
Assignees
Labels
needs reproductionRequires a reproductionRequires a reproduction