Skip to content

Commit e38911b

Browse files
committed
docs: minor improvements
1 parent a459e78 commit e38911b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { JSXRuntimeTypeTable } from "./configure-language-config";
66

77
<Callout title="TIP">
88

9-
Once you've correctly configured the `project` or `projectService` in `parserOptions` for the files to be analyzed, ESLint React utilizes the information within to make more accurate determinations.
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.
1010

1111
</Callout>
1212

@@ -24,14 +24,14 @@ Since this part does not perform type checking, there is almost no performance i
2424

2525
## Rules that Need Type Information
2626

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.
28+
2729
The following rules require type information:
2830

2931
- [`react-x/prefer-read-only-props`](/docs/rules/prefer-read-only-props)
3032
- [`react-x/no-leaked-conditional-rendering`](/docs/rules/no-leaked-conditional-rendering)
3133

32-
These rules will not work if you do not provide a `project` or `projectService` in the `parserOptions`.
33-
34-
This part has a performance impact, as it requires TypeScript to analyze the entire project. As a result, these rules are slower than traditional lint rules but are much more powerful.
34+
Enabling these rules can impact performance because it requires TypeScript to analyze the entire project. Therefore, these rules run slower than traditional lint rules, but they are also more powerful in functionality.
3535

3636
## Resources
3737

0 commit comments

Comments
 (0)