Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: remove configFile configuration key #499

Merged
merged 3 commits into from
Feb 18, 2025
Merged

Conversation

nhedger
Copy link
Member

@nhedger nhedger commented Feb 18, 2025

Summary

BREAKING CHANGE

This PR removes the configFile option from the biome.projects setting.

Description

When specified, the configFile option would start the LSP server with the additional --config-path option which instructs Biome to load the configuration file from a custom path.

When I initially started working on the v3 pre-release, I was working under the incorrect assumption that starting Biome with --lsp-proxy created an entirely independent process when, in fact, it would still start a Biome daemon.

While passing --config-path to Biome when first starting, it wasn't an issue; we discovered that when starting Biome multiple times (across various projects), only the configuration file referenced by the project that first started Biome would be considered.

Providing an option to use a custom config file is still valuable, but we'll remove this option from the pre-release while looking for an alternative solution.

Impact

While this is a breaking change, which we try to avoid, this is still a pre-release, and most of the documentation isn't officially published, so the impact will likely be minimal.

@nhedger nhedger marked this pull request as ready for review February 18, 2025 17:20
@nhedger nhedger requested review from a team as code owners February 18, 2025 17:20
@nhedger nhedger merged commit 36feb9e into main Feb 18, 2025
2 checks passed
@nhedger nhedger deleted the v3/deprecate-config-file branch February 18, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants