biomejs / biome

A toolchain for web projects, aimed to provide functionalities to maintain them. Biome offers formatter and linter, usable via CLI and LSP.
https://biomejs.dev
Apache License 2.0
14.96k stars 464 forks source link

🐛 Extension does not work when using shared config from module #2159

Closed kevinwolfcr closed 7 months ago

kevinwolfcr commented 7 months ago

VS Code version

1.87.1

Extension version

2.2.2

Biome version

1.6.0

Operating system

Description

After extending a configuration resolved from a node module, the extension stopped working, it says the Biome version on the status bar, but neither the linter nor the formatter are working.

Steps to reproduce

  1. Install a shareable configuration from npm (you can use mine)
  2. Extend the configuration on biome.json (see snippet below)
{
  "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
  "extends": ["@kevinwolfcr/biome-config"],
}

Expected behavior

Same behavior as extending a config using its path.

Does this issue occur when using the CLI directly?

No

Logs

No logs are shown at all
Sec-ant commented 7 months ago

I transferred this issue because this is a bug in biome_lsp and biome_fs. A fix will be pushed soon.