Skip to content

🐛 Ignore syntax doesn't work only when using microsyntax in extends #9052

@kazuemon

Description

@kazuemon

I'm not good at English, so I use a translator 🙏

Environment information

Details
CLI:
  Version:                      2.3.15
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  BIOME_THREADS:                unset
  NO_COLOR:                     unset
  TERM:                         xterm-256color
  JS_RUNTIME_VERSION:           v22.12.0
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         pnpm/10.28.0

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

Workspace:
  Open Documents:               0

What happened?

  1. Create monorepo
  2. Specify "//" for extends and !directory in files.includes (ex. "!world")
  3. Directories that specify to ignore are not ignored.

Please see this repository for minimal reproduce codes.
https://github.com/kazuemon/biomejs-monorepo-ignore-reproduction

Expected result

Works !directory in files.includes even if specify "//" for extends (specified directory should be ignore)

FYI: In minimal reproduce codes, !packages/fuga/world is worked, but !world not worked.

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

Labels

A-CoreArea: coreS-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