Skip to Content
SWR 2.0 is out! Read more →
remoteGraphQL EslintIntroduction

Introduction

This project integrates GraphQL and ESLint, for a better developer experience.

Created and maintained by The Guild.

Key Features

  • Integrates with ESLint core (as a ESTree parser)
  • Works on .graphql files, gql usages and /* GraphQL */ magic comments
  • Lints both GraphQL schema and GraphQL operations
  • Extended type info for more advanced usages
  • Supports ESLint directives (for example: eslint-disable-next-line)
  • Easily extendable - supports custom rules based on GraphQL’s AST and ESLint API
  • Validates, lints, prettifies and checks for best practices across GraphQL schema and GraphQL operations
  • Integrates with graphql-config
  • Integrates and visualizes lint issues in popular IDEs (VSCode / WebStorm)

Blog Posts

Credits

Special thanks to ilyavolodin for his work on a similar project.