Skip to content

🐛 Inconsistent monorepo lint results #7371

@ben-xiao-io

Description

@ben-xiao-io

VS Code version

1.99.3

Extension version

3.2.0

Biome version

2.2.2

Operating system

  • Windows
  • macOS
  • Linux

Description

There are two biome.json files, one in the root and one in apps./project-bad. The latter extends from the one in the root. However, if I remove the root: false out of the child one, the results are very inconsistent. From my understanding, the root key is optional (Docs)

Reproduce repo: https://github.com/ben-xiao-io/biome-parser-reproduction

Here is a screen recording:
https://github.com/user-attachments/assets/73df50c8-b4e3-4bc8-b13a-68cba947b0ba

Note that using biome cli directly does work. bunx biome lint returns no errors everytie.

Steps to reproduce

  1. Clone reproduction repo, and bun i -- bun (v1.2.19)
  2. Cmd + Shift + P --> Biome: Restart a bunch of times

Expected behavior

Should not produce any errors every time.

Does this issue occur when using the CLI directly?

No

Link to a minimal reproduction

https://github.com/ben-xiao-io/biome-parser-reproduction

Logs


Metadata

Metadata

Assignees

Labels

A-LSPArea: language server protocolS-Bug-confirmedStatus: report has been confirmed as a valid bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions