Skip to content

Bump @eslint-react/eslint-plugin from 3.0.0-next.71 to 3.0.0-rc.0#4000

Merged
nstepien merged 2 commits intomainfrom
dependabot/npm_and_yarn/eslint-react/eslint-plugin-3.0.0-rc.0
Mar 11, 2026
Merged

Bump @eslint-react/eslint-plugin from 3.0.0-next.71 to 3.0.0-rc.0#4000
nstepien merged 2 commits intomainfrom
dependabot/npm_and_yarn/eslint-react/eslint-plugin-3.0.0-rc.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 11, 2026

Bumps @eslint-react/eslint-plugin from 3.0.0-next.71 to 3.0.0-rc.0.

Release notes

Sourced from @​eslint-react/eslint-plugin's releases.

v3.0.0-rc.0 (2026-03-08)

What's Changed

This entry consolidates all changes from v2.13.0 (2026-02-15) through v3.0.0-rc.0 (2026-03-08).

💥 Breaking Changes

Minimum Node.js version raised from 20 to 22

The minimum required Node.js version is now >=22.0.0 (previously >=20.19.0).

Consolidated and removed rules in eslint-plugin-react-x

Old Rule (react-x/) New Rule (react-x/) Change
jsx-no-duplicate-props removed
jsx-no-iife unsupported-syntax consolidated
jsx-no-undef removed
jsx-uses-react removed
jsx-uses-vars removed
no-unnecessary-key removed
no-useless-forward-ref no-forward-ref consolidated
prefer-read-only-props immutability consolidated
prefer-use-state-lazy-initialization use-state consolidated
  • jsx-no-duplicate-props: Removed. LSP and Language Features natively report duplicate JSX props, making this rule redundant.
  • jsx-no-iife: The IIFE-in-JSX check has been merged into the new unsupported-syntax rule, which also covers eval and with statements.
  • jsx-no-undef: ESLint v10.0.0 now tracks JSX references natively, making this rule redundant. The no-undef rule now correctly handles JSX element references.
  • jsx-uses-react and jsx-uses-vars: These rules were only necessary for older versions of React that required the React namespace in scope for JSX. Since React 17, this is no longer required, and ESLint v10.0.0's native variable tracking handles this correctly.
  • no-unnecessary-key: The experimental rule has been removed.
  • no-useless-forward-ref: Consolidated into no-forward-ref. Since React 19, forwardRef is no longer necessary as ref can be passed as a prop. The no-forward-ref rule now covers all forwardRef usage patterns.
  • prefer-read-only-props: The TypeScript-based read-only props enforcement has been consolidated into the new immutability rule, which covers a broader set of immutability violations, including in-place array mutations and direct property assignments on state and props.
  • prefer-use-state-lazy-initialization: Its lazy-initialization checks are now part of the use-state rule and controlled by the new enforceLazyInitialization option (default: true).

Removed previously deprecated rules

Rule Deprecated in Package Replacement
filename-extension 2.13.0 eslint-plugin-react-naming-convention
filename 2.13.0 eslint-plugin-react-naming-convention
no-default-props 2.9.3 eslint-plugin-react-x no-restricted-syntax
no-forbidden-props 2.3.2 eslint-plugin-react-x no-restricted-syntax
no-prop-types 2.9.3 eslint-plugin-react-x no-restricted-syntax
no-string-refs 2.9.3 eslint-plugin-react-x no-restricted-syntax
no-unnecessary-use-ref 2.10.0 eslint-plugin-react-x

Removed eslint-plugin-react-hooks-extra package

All rules have been migrated into eslint-plugin-react-x:

... (truncated)

Changelog

Sourced from @​eslint-react/eslint-plugin's changelog.

v3.0.0-rc.0 (2026-03-08)

This entry consolidates all changes from v2.13.0 (2026-02-15) through v3.0.0-rc.0 (2026-03-08).

💥 Breaking Changes

Minimum Node.js version raised from 20 to 22

The minimum required Node.js version is now >=22.0.0 (previously >=20.19.0).

Consolidated and removed rules in eslint-plugin-react-x

Old Rule (react-x/) New Rule (react-x/) Change
jsx-no-duplicate-props removed
jsx-no-iife unsupported-syntax consolidated
jsx-no-undef removed
jsx-uses-react removed
jsx-uses-vars removed
no-unnecessary-key removed
no-useless-forward-ref no-forward-ref consolidated
prefer-read-only-props immutability consolidated
prefer-use-state-lazy-initialization use-state consolidated
  • jsx-no-duplicate-props: Removed. LSP and Language Features natively report duplicate JSX props, making this rule redundant.
  • jsx-no-iife: The IIFE-in-JSX check has been merged into the new unsupported-syntax rule, which also covers eval and with statements.
  • jsx-no-undef: ESLint v10.0.0 now tracks JSX references natively, making this rule redundant. The no-undef rule now correctly handles JSX element references.
  • jsx-uses-react and jsx-uses-vars: These rules were only necessary for older versions of React that required the React namespace in scope for JSX. Since React 17, this is no longer required, and ESLint v10.0.0's native variable tracking handles this correctly.
  • no-unnecessary-key: The experimental rule has been removed.
  • no-useless-forward-ref: Consolidated into no-forward-ref. Since React 19, forwardRef is no longer necessary as ref can be passed as a prop. The no-forward-ref rule now covers all forwardRef usage patterns.
  • prefer-read-only-props: The TypeScript-based read-only props enforcement has been consolidated into the new immutability rule, which covers a broader set of immutability violations, including in-place array mutations and direct property assignments on state and props.
  • prefer-use-state-lazy-initialization: Its lazy-initialization checks are now part of the use-state rule and controlled by the new enforceLazyInitialization option (default: true).

Removed previously deprecated rules

Rule Deprecated in Package Replacement
filename-extension 2.13.0 eslint-plugin-react-naming-convention
filename 2.13.0 eslint-plugin-react-naming-convention
no-default-props 2.9.3 eslint-plugin-react-x no-restricted-syntax
no-forbidden-props 2.3.2 eslint-plugin-react-x no-restricted-syntax
no-prop-types 2.9.3 eslint-plugin-react-x no-restricted-syntax
no-string-refs 2.9.3 eslint-plugin-react-x no-restricted-syntax
no-unnecessary-use-ref 2.10.0 eslint-plugin-react-x

Removed eslint-plugin-react-hooks-extra package

All rules have been migrated into eslint-plugin-react-x:

| Old Rule (react-hooks-extra/) | New Rule (react-x/) | Change |

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 11, 2026
@dependabot dependabot bot requested a review from amanmahajan7 as a code owner March 11, 2026 09:54
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 11, 2026
@dependabot dependabot bot requested a review from nstepien as a code owner March 11, 2026 09:54
@dependabot dependabot bot added the javascript Pull requests that update javascript code label Mar 11, 2026
Bumps [@eslint-react/eslint-plugin](https://github.com/Rel1cx/eslint-react/tree/HEAD/packages/plugins/eslint-plugin) from 3.0.0-next.71 to 3.0.0-rc.0.
- [Release notes](https://github.com/Rel1cx/eslint-react/releases)
- [Changelog](https://github.com/Rel1cx/eslint-react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Rel1cx/eslint-react/commits/v3.0.0-rc.0/packages/plugins/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@eslint-react/eslint-plugin"
  dependency-version: 3.0.0-rc.0
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/eslint-react/eslint-plugin-3.0.0-rc.0 branch from 356c883 to 2dd34b4 Compare March 11, 2026 14:32
@nstepien nstepien merged commit 88cc277 into main Mar 11, 2026
2 checks passed
@nstepien nstepien deleted the dependabot/npm_and_yarn/eslint-react/eslint-plugin-3.0.0-rc.0 branch March 11, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant