You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SirzBenjie
changed the title
🐛 Adding biome.json to .gitignore completely breaks the extension
🐛 Adding biome.jsonc to .gitignore completely breaks the extension
Mar 8, 2025
VS Code version
1.98.0 6609ac3d66f4eade5cf376d1cb76f13985724bcb x64
Extension version
2.3.2 AND 2025.2.72227
Biome version
1.9.4
Operating system
Description
This title is pretty self explanatory. Biome will break if you add its configuration file to .gitignore. Or, at least, it did for me.
Steps to reproduce
In
biome.jsonc
(I didn't test whether this issue happens with biome.,json as well), make sure you have VCS enabled:Then, make any file that you want to be formatted/linted/whatever with vscode.
When you try to format, vscode will give you the error "biome is configured as your default formatter but isn't able to handle
filetype
files.Expected behavior
The extension shouldn't break if biome.jsonc is added to
.gitignore
Does this issue occur when using the CLI directly?
Not sure / Not applicable
Link to a minimal reproduction
No response
Logs
The text was updated successfully, but these errors were encountered: