Skip to content

Commit 7b9897b

Browse files
committed
fix links
1 parent af09a7a commit 7b9897b

File tree

5 files changed

+59
-46
lines changed

5 files changed

+59
-46
lines changed

pnpm-lock.yaml

Lines changed: 51 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@monaco-editor/react": "4.4.6",
1717
"@radix-ui/react-icons": "1.1.1",
1818
"@radix-ui/react-select": "1.1.2",
19-
"@theguild/components": "4.5.0",
19+
"@theguild/components": "4.5.1",
2020
"clsx": "1.2.1",
2121
"graphql": "16.6.0",
2222
"lodash.debounce": "4.0.8",

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ 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](/docs/getting-started/parser) before getting
28-
started, to understand the differences between the AST structures.
27+
We recommend you to read the [graphql-eslint parser documentation](/docs/getting-started/parser)
28+
before getting 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
3131
simplify testing process with GraphQL schemas, so you can use that by importing `GraphQLESLintRule`
@@ -71,7 +71,8 @@ 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](/docs/getting-started/parser)).
74+
(you can read more about that in
75+
[graphql-eslint parser documentation](/docs/getting-started/parser)).
7576

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

website/src/pages/docs/getting-started.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ configuration file:
104104
}
105105
```
106106

107-
> You can find a complete [documentation of the `parserOptions` here](/docs/parser-options).
107+
> You can find a complete
108+
> [documentation of the `parserOptions` here](/docs/getting-started/parser-options).
108109
109110
> Some rules require type information to operate, it's marked in the docs for each rule!
110111

website/src/pages/docs/getting-started/parser.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ schema. The parser uses `graphql-tools` and it's loaders, that means you can eit
6161
path to a local `.json` (introspection) file, or a path to a local `.graphql` file(s). You can also
6262
use Glob expressions to load multiple files.
6363

64-
[You can find more detail on the `parserOptions` config here](/docs/parser-options).
64+
[You can find more detail on the `parserOptions` config here](/docs/getting-started/parser-options).
6565

6666
Providing the schema will make sure that rules that needs it will be able to access it, and it
6767
enriches every converted AST node with `typeInfo`.

0 commit comments

Comments
 (0)