Skip to content

🐛 [Monorepo] globally excluded files are still processed #8518

@brandonw

Description

@brandonw

Environment information

> biome-repro@0.0.0 rage
> biome rage

CLI:
  Version:                      2.3.6
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  BIOME_THREADS:                unset
  NO_COLOR:                     unset
  TERM:                         alacritty
  JS_RUNTIME_VERSION:           v20.19.2
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         npm/10.8.2

Biome Configuration:
  Status:                       Loaded successfully
  Path:                         biome.json
  Formatter enabled:            false
  Linter enabled:               true
  Assist enabled:               true
  VCS enabled:                  true

Workspace:
  Open Documents:               0

What happened?

  1. Use a monorepo structure
  2. Configure a root config that has some global files.includes exclusions via !
  3. Configure a monorepo package configuration that uses "extends": "//"
  4. Create some lint failures of an enabled rule in the excluded files
  5. Run lint
  6. See lint errors for excluded files

https://github.com/brandonw/biome-repro-1766175331469 has a somewhat minimal reproduction.

Expected result

Excluded files should not be processed.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

Labels

S-Needs triageStatus: this issue needs to be triaged

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions