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

[Feature Request] Add --config-path compatibility to specify Biome configuration file path #44

Open
kenyon-wong opened this issue Feb 10, 2025 · 0 comments

Comments

@kenyon-wong
Copy link

Problem Description

Currently, the LSP-biome plugin does not provide an option to specify a custom Biome configuration file path via --config-path. Users who want to use a global Biome configuration file (e.g., in a non-default location or shared across projects) cannot easily integrate it with the LSP plugin.

Proposed Solution

Add a new configuration option (e.g., config_path or biome.configPath) in the LSP-biome settings. This option would allow users to define a custom path to the Biome configuration file (e.g., biome.json). The plugin should pass this path to Biome via the --config-path CLI argument when initializing the LSP server.

Additional Context

  1. Biome officially supports the --config-path argument (Biome CLI Docs).
  2. This feature would improve flexibility for monorepos or shared configurations.
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

No branches or pull requests

1 participant