dprint / dprint-plugin-biome

Adapter plugin to use Biome in dprint's CLI and with JavaScript via Wasm
Other
8 stars 4 forks source link

GraphQL support #14

Closed g-plane closed 1 week ago

g-plane commented 3 months ago

At this moment, Biome has added support for GraphQL. And, as mentioned in https://github.com/refined-github/refined-github/issues/7372#issuecomment-2253634153 , we should consider adding it to this plugin.

To allow developers to format GraphQL with Biome only, we must add an option called js_enabled, which can let developers format JS/TS with other tools while formatting GraphQL with Biome.

dsherret commented 3 months ago

@g-plane would you be up for adding it? Also, yeah adding a js.enabled option would be good where it's enabled by default.

g-plane commented 3 months ago

I can do this.

dsherret commented 3 months ago

Thanks!

Eveeifyeve commented 2 months ago

I can do this as I know how biome and dprint work.

Eveeifyeve commented 2 months ago

I will create a fork and add support for graph ql, partial support for astro, vue & svelte as I want to have the support for formating my frontend for astro for https://teaclient.net.

Eveeifyeve commented 2 months ago

Hey Unfortunately biome needs to release a version with the graph ql formater till then I can't support it sadly.

Eveeifyeve commented 1 month ago

Hey in a week 1.9 will release which will include graph ql formmater as said in discord after that is out, I will update all packages and look into supporting graph ql.

Eveeifyeve commented 1 month ago

Hey good news Biome released 1.9 which includes graphql, I will start looking into starting a pr to add support for this.