Skip to content

🐛 Linter doesn't follow closest biome.json file #113

@timdang

Description

@timdang

Zed version

Zed Preview 0.192.0

Extension version

0.2.0

Biome version

2.0.0

Operating system

  • Windows
  • macOS
  • [] Linux

Description

Biome's linter is reporting linting errors based upon the root biome.json file rather than the closest biome.json file relative to the open file.

Image

Steps to reproduce

Set local folder's biome.json to extend root directory's biome.json file.
Set to linting overrides in the local folder.
Open file that is within the purview of the local folder.

Expected behavior

Expect linting rules for open file to use "nearest parent" biome.json file.

Does this issue occur when using the CLI directly?

No

Link to a minimal reproduction

https://github.com/timdang/biome-repro-1750286765592

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions