Visitar URL original
Pretty GraphQL Plugin - dprint - Code Formatter
// plugins

Pretty GraphQL

GraphQL formatter.

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@0.2.3"
  ]
}

Configuration

Read the full documentation site with code examples.

All plugins

Official Plugins

Community Plugins

Wrapper Plugins

Everything Else