Skip to content

Commit c819465

Browse files
committed
docs: update FAQ with clearer project mission and benefits
1 parent 4098215 commit c819465

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

apps/website/content/docs/faq.mdx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
66

77
<Accordions>
88

9-
<Accordion title="Why create ESLint React?">
9+
<Accordion title="Why?">
1010

11-
The existing `eslint-plugin-react` is a plugin for `react-dom` but named react[¹], it only supports React DOM[²] and does not being expected to be used with x-platform.
11+
**ESLint React** addresses critical gaps in the existing `eslint-plugin-react` for modern React ecosystems. Despite React's core being renderer-agnostic, the current plugin maintains DOM-specific assumptions that conflict with alternative renderers like React Native and React Three Fiber. This can sometimes cause confusion and problems.
1212

13-
Although you can use it with other renderers, it will always assume that you are using the React DOM, even if you are working with a codebase that uses a different renderer. This can sometimes cause confusion and problems[³].
13+
**ESLint React** is designed to be renderer-agnostic. It offers:
1414

15-
Unfortunately, the maintainers of `eslint-plugin-react` refuse to change that[].
15+
- Composable and extensible rulesets
16+
- Context-aware checks adapting to different environments
17+
- Unified code standards regardless of render target
1618

17-
Just as in [Beyond the DOM](https://legacy.reactjs.org/docs/design-principles.html#beyond-the-dom) we believe the future of React Linter is not limited to the DOM. This influences every decision made in ESLint React, and it is the reason why we created it.
19+
This approach ensures consistent code quality standards and reliable linting experience across all React platforms, including React DOM, React Native, React Three Fiber, and more.
1820

1921
</Accordion>
2022

@@ -73,8 +75,3 @@ To smoothly transition, we suggest reviewing the rules in ESLint React and runni
7375
</Accordion>
7476

7577
</Accordions>
76-
77-
[¹]: https://github.com/jsx-eslint/eslint-plugin-react/issues/3423#issuecomment-1930936266
78-
[²]: https://github.com/jsx-eslint/eslint-plugin-react/issues/3423#issuecomment-1314565853
79-
[³]: https://github.com/pmndrs/gltf-react-three/issues/38#issuecomment-2057794974
80-
[]: https://github.com/jsx-eslint/eslint-plugin-react/issues/3423#issuecomment-1314644323

0 commit comments

Comments
 (0)