π Biome language server crashes on invalid biome.json
jamiebuilds opened this issue Β· comments
Environment information
CLI:
Version: 1.7.3
Color support: true
Platform:
CPU Architecture: aarch64
OS: macos
Environment:
BIOME_LOG_DIR: unset
NO_COLOR: unset
TERM: "xterm-256color"
JS_RUNTIME_VERSION: "v20.11.1"
JS_RUNTIME_NAME: "node"
NODE_PACKAGE_MANAGER: "npm/10.2.4"
Biome Configuration:
Status: Loaded successfully
Formatter disabled: false
Linter disabled: false
Organize imports disabled: false
VCS disabled: true
Workspace:
Open Documents: 0
What happened?
With an invalid biome.json
(with an extra dangling comma: { prop: "value", }
):
[Error - 1:55:20 PM] Expected a property but instead found '}'.
For a couple file saves, Biome just wasn't running, then a toast popped open in vscode and said that the biome server had crashed several times.
Expected result
Where it can, I would hope that Biome just automatically fixes simple syntax mistakes like it does elsewhere.
But as a minimum, Biome should tell me there's a syntax error in my config file and point to it.
Code of Conduct
- I agree to follow Biome's Code of Conduct