biomejs / biome-zed

Biome extension for Zed
https://biomejs.dev
MIT License
168 stars 6 forks source link

Global configs in settings.json #55

Open extremelyonline opened 1 month ago

extremelyonline commented 1 month ago

Hello, Is there a feature to set global configs in settings.json and override them if a biome.json is present?

luckydye commented 1 month ago

Not currently, as far as I know.

nestarz commented 4 weeks ago

This feature would help the dev UX I think.

ematipico commented 4 weeks ago

It doesn't work like this.

Settings coming from an editor (zed in case, which is called client), take precedence over biome.json. That's how it works with the CLI, where the CLI is a client.

Technically, Zed would allow you to pass options from its settings.json, but at the moment Biome doesn't accept them. It might change in the future.

However, zed for now doesn't have a concept of global settings and local settings.