-
-
Notifications
You must be signed in to change notification settings - Fork 890
Open
Labels
A-CoreArea: coreArea: coreS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug
Description
Environment information
CLI:
Version: 2.1.2
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-kitty
JS_RUNTIME_VERSION: v22.15.1
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: unset
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 pnpm/biome workspace located at myrepo/subdir/myworkspace/.
I have this config:
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true,
"root": "../.."
}Whatever I put as root, I get Biome couldn't find an ignore file in the following folder: /home/username/Documents/stuff/myrepo/subdir/myworkspace
EDIT: this issue does not appear in my similar project, it seems to be triggered by the fact that I'm in a workspace.
Expected result
Biome finds the ignore file.
This issue doesn't happen on v2.1.1, appeared on v2.1.2
Workaround
Just add an empty .gitignore in the workspace dir (where the biome config lives).
Code of Conduct
- I agree to follow Biome's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-CoreArea: coreArea: coreS-Bug-confirmedStatus: report has been confirmed as a valid bugStatus: report has been confirmed as a valid bug