biome: π configuration file error
Environment information
I use this config file (biome.json):
{
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"suspicious": {
"noRedundantUseStrict": "off"
}
}
}
}
With Biome 1.8.2 (SublimeText 4) everything is fine, with 1.8.3 (VSCode) Biome says: The configuration file has errors. Biome will report only parsing errors until the configuration is fixed.
Could you tell me how to fix this?
What happened?
I got an error message with 1.8.3 as soon as I open a JS file in VSC
Expected result
No error maybe, or tell me how to fix this.
Code of Conduct
- I agree to follow Biomeβs Code of Conduct
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15 (5 by maintainers)
This might help, even if Iβm not sure this is what @franck-paul was experiencing:
I also got the error in VS Code:
The configuration file has errors. Biome will report only parsing errors until the configuration is fixed.I tried several changes, and the issue came from an error in my
.editorconfigfile (indent_style = "space"instead ofindent_style = space), and my Biome configuration includedformatter.useEditorconfig: true.Maybe it could be possible to explain in the error that
The configuration file has errorsapplies to the.editorconfigfile, not thebiome.jsonone, when itβs the issue.