Skip to content

Commit cc17ceb

Browse files
committed
docs: move parser config tip from language config to setup docs
1 parent 4ff1e58 commit cc17ceb

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

apps/website/content/docs/configuration/configure-language-config.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ title: "Configure Language Config"
44

55
import { JSXRuntimeTypeTable } from "./configure-language-config";
66

7-
<Callout title="TIP">
8-
9-
Once you've correctly configured the `project` or `projectService` options in `parserOptions` for the files to be analyzed, ESLint React utilizes the information within to make more accurate determinations.
10-
11-
</Callout>
12-
137
ESLint React references your language config to determine how to perform static code analysis. This page details which parts of ESLint React utilize your language config.
148

159
## JSX Runtime

apps/website/content/docs/getting-started/javascript.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ export default defineConfig([
8484
}
8585
```
8686

87+
<Callout title="TIP">
88+
89+
Once you've correctly configured the [`project`](https://typescript-eslint.io/packages/parser/#project) or [`projectService`](https://typescript-eslint.io/packages/parser/#projectservice) options in [`parserOptions`](https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options) for the files to be analyzed, ESLint React utilizes the information within to make more accurate determinations.
90+
91+
For more information, see the [Configure Language Config](/docs/configuration/configure-language-config) section.
92+
93+
</Callout>
94+
8795
</Step>
8896

8997
</Steps>

apps/website/content/docs/getting-started/typescript.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ export default tseslint.config({
8181
}
8282
```
8383

84+
<Callout title="TIP">
85+
86+
Once you've correctly configured the [`project`](https://typescript-eslint.io/packages/parser/#project) or [`projectService`](https://typescript-eslint.io/packages/parser/#projectservice) options in [`parserOptions`](https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options) for the files to be analyzed, ESLint React utilizes the information within to make more accurate determinations.
87+
88+
For more information, see the [Configure Language Config](/docs/configuration/configure-language-config) section.
89+
90+
</Callout>
91+
8492
</Step>
8593

8694
</Steps>

0 commit comments

Comments
 (0)