Skip to content

Commit 9ea0290

Browse files
Rel1cxCopilot
andauthored
Simplify "Which one should I use? Unified plugin or individual plugins?" (#1286)
Signed-off-by: REL1CX <[email protected]> Co-authored-by: Copilot <[email protected]>
1 parent 439ec4c commit 9ea0290

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

apps/website/content/docs/faq.mdx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,7 @@ import { Accordion, Accordions } from "fumadocs-ui/components/accordion";
5555
<Accordion title="Which one should I use? Unified plugin or individual plugins?">
5656
For users who use the presets we provide (such as `recommended` or `strict`), it is recommended to use the unified plugin `@eslint-react/eslint-plugin`. This simplifies configuration and ensures that all relevant rules are enabled correctly.
5757

58-
For users who need more fine-grained control, choose to use the unified plugin or individual plugins depending on the degree of modification relative to the initial presets we provide:
59-
60-
- **Minor Adjustments**: If you only need to make minor adjustments to the presets (for example, disabling some rules or adding a few custom rules), it is recommended to continue using the unified plugin `@eslint-react/eslint-plugin`. This makes managing the configuration simpler while still benefiting from the comprehensiveness of the presets.
61-
- **Major Customization**: If you need to make significant changes to the rule set (for example, using only the rules of a specific plugin, or requiring a completely different rule set), it is recommended to use individual plugins (such as `eslint-plugin-react-x`, `eslint-plugin-react-dom`, etc.). This
62-
allows you to have full control over the enabled rules and customize them according to your project's needs.
63-
64-
For users who want to build and maintain an ESLint configuration for themselves or their organization, it is **always recommended to use individual plugins**. This allows you to freely select plugins and compose rules as needed, without being limited by presets.
58+
For users who need more fine-grained control or build and maintain an ESLint configuration for themselves or their organization, it is recommended to use individual plugins. This allows you to freely select plugins and compose rules as needed, without being limited by presets.
6559

6660
<Callout type="warning">
6761
The unified plugin (`@eslint-react/eslint-plugin`) contains some historical decisions and internal behaviors that were originally made to be compatible with both Legacy Config and Flat Config. Reducing external package dependencies on it is better in the long run.

0 commit comments

Comments
 (0)