Skip to content

Commit 8c20279

Browse files
committed
docs: improve faq page
1 parent 2098ef8 commit 8c20279

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/website/content/docs/faq.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ Just as in [Beyond the DOM](https://legacy.reactjs.org/docs/design-principles.ht
2020

2121
<Accordion title='Why is there no "jsx-runtime" preset in ESLint React?'>
2222

23-
ESLint React uses the same JSX runtime options as specified in your `tsconfig.json` or `jsconfig.json` and adjusts the relevant rules accordingly.
23+
ESLint React reads your `tsconfig.json` or `jsconfig.json` configuration files to determines how to perform the JSX analysis internally. This means that you don't need to configure the JSX runtime in ESLint React, as it will automatically use the one configured in your project.
2424

25-
This avoids potential issues where the JSX runtime configured in ESLint might conflict with the one configured in `tsconfig.json` or `jsconfig.json`.
25+
Additionally, this approach avoids potential problems where the JSX runtime configured in `eslint.config.js` might conflict with the one configured in `tsconfig.json` or `jsconfig.json`.
26+
27+
For more information, see the [JSX Runtime](/docs/configuration/configure-language-config#jsx-runtime) section on the [Configure Language Config](/docs/configuration/configure-language-config) page.
2628

2729
</Accordion>
2830

0 commit comments

Comments
 (0)