File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- yarn lint
1
+ pnpm lint
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ the AST nodes you wish to visit. It can either be a
24
24
or a complex [ ESLint selector] ( https://eslint.org/docs/developer-guide/selectors ) that allows you to
25
25
travel and filter AST nodes.
26
26
27
- We recommend you to read the [ graphql-eslint parser documentation] ( parser.md ) before getting
27
+ We recommend you to read the [ graphql-eslint parser documentation] ( /docs/getting-started/ parser) before getting
28
28
started, to understand the differences between the AST structures.
29
29
30
30
The ` graphql-eslint ` comes with a TypeScript wrapper for ESLint rules, and provides a testkit to
@@ -71,7 +71,7 @@ rules. It coverts most of the use-cases and concepts of rules.
71
71
Since our parser converts GraphQL AST to ESTree structure, there are some minor differences in the
72
72
structure of the objects. If you are using TypeScript, and you typed your rule with
73
73
` GraphQLESLintRule ` - you'll see that each ` node ` is a bit different from the AST nodes of GraphQL
74
- (you can read more about that in [ graphql-eslint parser documentation] ( parser.md ) ).
74
+ (you can read more about that in [ graphql-eslint parser documentation] ( /docs/getting-started/ parser) ).
75
75
76
76
If you need access to the original GraphQL AST ` node ` , you can use ` .rawNode() ` method on each node
77
77
you get from the AST structure of ESLint.
Original file line number Diff line number Diff line change 2
2
3
3
## ` avoid-duplicate-fields `
4
4
5
- This rule was renamed to [ ` no-duplicate-fields ` ] ( rules/no-duplicate-fields.md ) .
5
+ This rule was renamed to [ ` no-duplicate-fields ` ] ( / rules/no-duplicate-fields) .
6
6
7
7
## ` avoid-scalar-result-type-on-mutation `
8
8
9
9
This rule was renamed to
10
- [ ` no-scalar-result-type-on-mutation ` ] ( rules/no-scalar-result-type-on-mutation.md ) .
10
+ [ ` no-scalar-result-type-on-mutation ` ] ( / rules/no-scalar-result-type-on-mutation) .
11
11
12
12
## ` avoid-typename-prefix `
13
13
14
- This rule was renamed to [ ` no-typename-prefix ` ] ( rules/no-typename-prefix.md ) .
14
+ This rule was renamed to [ ` no-typename-prefix ` ] ( / rules/no-typename-prefix) .
15
15
16
16
## ` avoid-operation-name-prefix `
17
17
18
18
This rule was removed because the same things can be validated using
19
- [ ` naming-convention ` ] ( rules/naming-convention.md ) .
19
+ [ ` naming-convention ` ] ( / rules/naming-convention) .
20
20
21
21
## ` no-operation-name-suffix `
22
22
23
23
This rule was removed because the same things can be validated using
24
- [ ` naming-convention ` ] ( rules/naming-convention.md ) .
24
+ [ ` naming-convention ` ] ( / rules/naming-convention) .
You can’t perform that action at this time.
0 commit comments