Skip to content

Enforce proper graphql query syntax #12

@ashfurrow

Description

@ashfurrow

eslint-plugin-relay does this here: https://github.com/relayjs/eslint-plugin-relay/blob/master/src/rule-graphql-syntax.js

The rule appears to do the following:

  • prohibit ${...} substitutions in graphql-tagged strings.
  • require GraphQL operations to be named.
  • make sure that graphql.parse works on the query.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions