You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/website/content/docs/configuration/configure-language-config.mdx
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,23 +14,27 @@ ESLint React references your language config to determine how to perform static
14
14
15
15
## JSX Runtime
16
16
17
-
ESLint React reads your `tsconfig.json` or `jsconfig.json` configuration file to determine the JSX runtime type. If nothing is specified, it defaults to [`automatic`](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html).
17
+
ESLint React reads your `tsconfig.json` or `jsconfig.json` configuration file to determine the JSX runtime type.
18
18
19
19
The following [compiler options](https://www.typescriptlang.org/tsconfig/#compilerOptions) are respected:
20
20
21
21
<JSXRuntimeTypeTable />
22
22
23
+
**If nothing is specified, it defaults to [`automatic`](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html)**.
24
+
23
25
Since this part does not perform type checking, there is **almost no performance impact**.
24
26
25
27
## Rules that Need Type Information
26
28
27
-
ESLint React uses the Typed Linting API from `typescript-eslint` to retrieve type information for the rules that require it. The `project` or `projectService` options in `parserOptions` must be set correctly for the rules to work.
29
+
ESLint React uses the Typed Linting API from `typescript-eslint` to retrieve type information for the rules that require it.
0 commit comments