-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bug confirmedSomething isn't workingSomething isn't working
Description
Zed version
Zed: v0.191.7 (Zed) OS: macOS 15.5.0 Memory: 18 GiB Architecture: aarch64
Extension version
0.2.0
Biome version
2.0.5
Operating system
- Windows
- macOS
- Linux
Description
The extension doesn't respect monorepo settings. In subfolder it shows errors which should ignore according to settings from the parent biome.json file.
Project structure:
Parent biome.json:
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"root": true,
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"useExhaustiveDependencies": "warn"
},
"nursery": {
"useUniqueElementIds": "off"
}
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"indentWidth": 4
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
}
}
Child biome.json:
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"root": false,
"extends": "//",
"files": {
"includes": ["./app/**"]
}
}
If I run linter from terminal it returns no errors, but in IDE it shows errors which is ignored in parent biome.json.
.zed/settings.json
{
"lsp": {
"biome": {
"settings": {
"config_path": "./organizer-dashboard/biome.json"
}
}
},
"languages": {
"JavaScript": { "formatter": { "language_server": { "name": "biome" } } },
"TypeScript": { "formatter": { "language_server": { "name": "biome" } } },
"JSX": { "formatter": { "language_server": { "name": "biome" } } },
"TSX": { "formatter": { "language_server": { "name": "biome" } } },
"JSON": { "formatter": { "language_server": { "name": "biome" } } },
"JSONC": { "formatter": { "language_server": { "name": "biome" } } },
"CSS": { "formatter": { "language_server": { "name": "biome" } } }
}
}
Steps to reproduce
You should reproduce the monorepo project structure.
Expected behavior
Logic in IDE is inlined with linter using terminal.
Does this issue occur when using the CLI directly?
No
Link to a minimal reproduction
No response
Metadata
Metadata
Assignees
Labels
bug confirmedSomething isn't workingSomething isn't working