Skip to content

Commit af09a7a

Browse files
committed
fix links
1 parent 2c9fe97 commit af09a7a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarn lint
1+
pnpm lint

website/src/pages/docs/custom-rules.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ the AST nodes you wish to visit. It can either be a
2424
or a complex [ESLint selector](https://eslint.org/docs/developer-guide/selectors) that allows you to
2525
travel and filter AST nodes.
2626

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
2828
started, to understand the differences between the AST structures.
2929

3030
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.
7171
Since our parser converts GraphQL AST to ESTree structure, there are some minor differences in the
7272
structure of the objects. If you are using TypeScript, and you typed your rule with
7373
`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)).
7575

7676
If you need access to the original GraphQL AST `node`, you can use `.rawNode()` method on each node
7777
you get from the AST structure of ESLint.

website/src/pages/rules/deprecated-rules.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
## `avoid-duplicate-fields`
44

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).
66

77
## `avoid-scalar-result-type-on-mutation`
88

99
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).
1111

1212
## `avoid-typename-prefix`
1313

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).
1515

1616
## `avoid-operation-name-prefix`
1717

1818
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).
2020

2121
## `no-operation-name-suffix`
2222

2323
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).

0 commit comments

Comments
 (0)