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)

Most upvoted comments

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 .editorconfig file (indent_style = "space" instead of indent_style = space), and my Biome configuration included formatter.useEditorconfig: true.

Maybe it could be possible to explain in the error that The configuration file has errors applies to the .editorconfig file, not the biome.json one, when it’s the issue.