Skip to content

Docs: add mention of alternative @eslint-react/eslint-plugin in important note for React in Specifying Parser OptionsΒ #19265

Open
@rakleed

Description

Docs page(s)

https://eslint.org/docs/latest/use/configure/language-options#specifying-parser-options:~:text=We%20recommend%20using%20eslint%2Dplugin%2Dreact%20if%20you%20are%20using%20React.

What documentation issue do you want to solve?

A new ESLint plugin for React has rules from eslint-react-plugin, but adds more. Also, it's more aligned with recommendations from React docs: https://eslint-react.xyz/docs/faq

What do you think is the correct solution?

Add mention of @eslint-react/eslint-plugin next to eslint-plugin-react like:

"We recommend using eslint-plugin-react or @eslint-react/eslint-plugin if you are using React."

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    acceptedThere is consensus among the team that this change meets the criteria for inclusiondocumentationRelates to ESLint's documentation

    Type

    No type

    Projects

    • Status

      Ready to Implement

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions