🐛 biome.requireConfigFile
Ignored When Opening Single File in VSCode
#390
Labels
biome.requireConfigFile
Ignored When Opening Single File in VSCode
#390
VS Code version
1.94.1
Extension version
2024.10.40751 (pre-release)
Biome version
1.9.3
Operating system
Description
When
biome.requireConfigFile
is set totrue
, it is expected that Biome (linter/formatter) should only be activated if a valid configuration file is present. However, this behavior is inconsistent when opening a single file in VSCode. Biome appears to be enabled automatically, even if no configuration file is present, contrary to the setting. This issue does not occur when opening a directory, where Biome correctly respects thebiome.requireConfigFile
setting.I only tested this issue on the pre-release version of the Biome Extension.
Steps to reproduce
"biome.requireConfigFile": true
in your VSCode settings.Expected behavior
Biome should not be activated when opening a single file if no configuration file is present, respecting the
"biome.requireConfigFile": true
setting.Does this issue occur when using the CLI directly?
Not sure / Not applicable
Link to a minimal reproduction
No response
Logs
No response
The text was updated successfully, but these errors were encountered: