lone-anonymous-operation
✅ The "extends": "plugin:@graphql-eslint/operations-recommended"
property in a configuration file
enables this rule.
- Category:
Operations
- Rule name:
@graphql-eslint/lone-anonymous-operation
- Requires GraphQL Schema:
true
ℹ️ - Requires GraphQL Operations:
false
ℹ️
A GraphQL document that contains an anonymous operation (the query
short-hand) is only valid if it
contains only that one operation definition.
This rule is a wrapper around a
graphql-js
validation function.
Resources
Last updated on