Skip to content

Commit 1d6e4a4

Browse files
committed
docs: update configuration documentation and examples
1 parent 115f1a7 commit 1d6e4a4

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

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

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ title: "Configure Language Config"
44

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

7-
ESLint React uses your project configuration to determine how to lint your React code. This page explains which parts in your project configuration are respected by ESLint React.
7+
ESLint React references your project configuration to determine how to perform code checking.
8+
9+
This page will explain which parts of ESLint React respect your project configuration.
810

911
## JSX Runtime
1012

@@ -13,3 +15,12 @@ ESLint React reads your `tsconfig.json` or `jsconfig.json` configuration files t
1315
The following [compiler options](https://www.typescriptlang.org/tsconfig/#compilerOptions) are respected:
1416

1517
<JSXRuntimeTypeTable />
18+
19+
## Resources
20+
21+
For more information, see:
22+
23+
- [TSConfig Reference](https://www.typescriptlang.org/tsconfig#JavaScript-Project-Configuration)
24+
- [TypeScript ESLint Parser Options](https://typescript-eslint.io/packages/parser)
25+
- [`project`](https://typescript-eslint.io/packages/parser#project)
26+
- [`projectService`](https://typescript-eslint.io/packages/parser#projectService)

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ export default defineConfig([
7878
{
7979
"compilerOptions": {
8080
// ...other options
81-
"allowJs": true,
8281
"jsx": "react-jsx",
83-
"noEmit": true,
8482
},
8583
"include": ["**/*.js", "**/*.jsx"]
8684
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export default tseslint.config({
7676
"compilerOptions": {
7777
// ...other options
7878
"jsx": "react-jsx",
79-
"noEmit": true,
8079
},
8180
"include": ["**/*.ts", "**/*.tsx"]
8281
}

0 commit comments

Comments
 (0)