graphql-schema-linter

graphql-schema-linter is a linter for GraphQL.

You can enable the graphql-schema-linter linter with:

trunk check enable graphql-schema-linter

Auto Enabling

graphql-schema-linter will be auto-enabled if any of its config files are present: .graphql-schema-linter.config.js, .graphql-schema-linterrc.

Settings

graphql-schema-linter supports the following config files:

  • .graphql-schema-linter.config.js

  • .graphql-schema-linterrc

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.

Last updated