File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ This rule requires descriptions to be present in your type definitions files.
12
12
Examples of ** incorrect** code for this rule:
13
13
14
14
``` graphql
15
- # eslint @graphql-eslint/require-description: ["error", { on: ["ObjectTypeDefinition", "FieldDefinition" }]
15
+ # eslint @graphql-eslint/require-description: ["error", { on: ["ObjectTypeDefinition", "FieldDefinition"] }]
16
16
17
17
type someTypeName {
18
18
name : String
@@ -22,7 +22,7 @@ type someTypeName {
22
22
Examples of **correct ** code for this rule :
23
23
24
24
```graphql
25
- # eslint @graphql-eslint/require-description: ["error", { on: ["ObjectTypeDefinition", "FieldDefinition" }]
25
+ # eslint @graphql-eslint/require-description: ["error", { on: ["ObjectTypeDefinition", "FieldDefinition"] }]
26
26
27
27
"""
28
28
Some type description
You can’t perform that action at this time.
0 commit comments