Disabling Rules
Disabling Rules — GraphQL ESLint documentation.
The graphql-eslint parser looks for GraphQL comments syntax (marked with #) and will send it to
ESLint as directives. That means, you can use ESLint directives syntax to hint ESLint, just like in
any other type of files.
To disable ESLint for a specific line, you can do:
You can also specify specific rules to disable, apply it over the entire file,
eslint-disable-next-line or current eslint-disable-line.
You can find a list of ESLint directives here.