-
-
Notifications
You must be signed in to change notification settings - Fork 793
Labels
A-CLIArea: CLIArea: CLIS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug
Description
Environment information
CLI:
Version: 2.0.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: xterm-256color
JS_RUNTIME_VERSION: v22.16.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: pnpm/10.12.1
Biome Configuration:
Status: Loaded successfully
Path: biome.json
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
Workspace:
Open Documents: 0
What happened?
I have a monorepo setup where I have a single biome.json and a single .gitignore file at the root. When I call biome check from the root everything works but after navigating inside a sub directory (eg. one of my projects), biome check seems to ignore my .gitignore file at the root.
Reproduction
Repo: https://github.com/GiyoMoon/biome-root-gitignore-bug
Steps:
git clone [email protected]:GiyoMoon/biome-root-gitignore-bug.gitcd biome-root-gitignore-bugpnpm installcd apps/myProjectpnpm buildpnpm lint
See how it throws formatting errors from ./dist, event though I included dist inside my .gitignore file at the root.
Expected result
biome should detect the .gitignore file even if I call it from a sub directory.
Code of Conduct
- I agree to follow Biome's Code of Conduct
dboskovic and mdrobny
Metadata
Metadata
Assignees
Labels
A-CLIArea: CLIArea: CLIS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug