ESLint parser, plugin and set rules for GraphQL (for schema and operations). Easily customizable with custom rules. Integrates with IDEs and modern GraphQL tools.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
Published by github-actions[bot] about 2 years ago
GraphQLInvalidTestCase
typePublished by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
TypeError
from ESLint suggestions, don't provide suggestions for fragment that can be in a separate filePublished by github-actions[bot] over 2 years ago
ignoreClientDirectives
for OperationDefinition
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
id
field with an alias in require-id-when-available
rulePublished by github-actions[bot] over 2 years ago
startCursor
and endCursor
if there are no results. More info from spec
Published by github-actions[bot] over 2 years ago
relay-connection-types
relay-edge-types
relay-page-info
relay-arguments
plugin:@graphql-eslint/relay
graphql-config
to fix loading schema via urlgraphql
packagenaming-convention
ruleSpecial thanks to @connorjs
Published by github-actions[bot] over 2 years ago
DEBUG
env variable, example DEBUG=graphql-eslint:* eslint .
Published by github-actions[bot] over 2 years ago
definitions
option for alphabetize
rulerequire-id-when-available
, require-deprecation-date
, no-deprecated
and no-scalar-result-type-on-mutation
rulesno-duplicate-fields
, no-hashtag-description
and selection-set-depth
rulesno-typename-prefix
, no-root-type
, no-case-insensitive-enum-values-duplicates
rulesignoreClientDirectives
option for known-directives
ruledescription-style
, input-name
and no-anonymous-operations
rulesrequire-id-when-available
rulerequire-id-when-available
rulealphabetize
ruleThanks to @jycouet for improving require-id-when-available
58b5bfd
Published by github-actions[bot] over 2 years ago
OperationDefinition
in require-description
rulealphabetize
rule and change sort order to lexicographicmatchDocumentStyle
for match-document-filename
ruleno-unreachable-types
rule on [email protected]require-description
ruleloc.column
to 0-based column numberPublished by github-actions[bot] over 2 years ago
Published by github-actions[bot] almost 3 years ago
strict-id-in-types
rulePublished by github-actions[bot] almost 3 years ago
require-id-when-available
rulePublished by github-actions[bot] almost 3 years ago
possible-type-extension
rule when schema is separate into multiple filesPublished by github-actions[bot] almost 3 years ago
naming-convention
rule#import
comments in favor of parserOptions.operations
Published by github-actions[bot] almost 3 years ago
naming-convention
rulerequire-id-when-available
rulegraphql-js
rules