// plugins

Pretty GraphQL Plugin

Plugin that formats GraphQL files via Pretty GraphQL.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add g-plane/pretty_graphql

This will update your config file to have an entry for the plugin. Then optionally specify a "graphql" property to add configuration:

{
  "graphql": { // not "pretty_graphql"
    // Pretty GraphQL config goes here
  },
  "plugins": [
    "npm:dprint-plugin-graphql@x.x.x"
  ]
}

Configuration

See Configuration or read full documentation site with code examples.

Playground

See Playground