Skip to content

Bump @eslint-react/eslint-plugin from 4.2.3 to 5.6.0 - #4036

Merged
nstepien merged 2 commits into
mainfrom
dependabot/npm_and_yarn/eslint-react/eslint-plugin-5.6.0
Apr 29, 2026
Merged

nstepien merged 2 commits into
mainfrom
dependabot/npm_and_yarn/eslint-react/eslint-plugin-5.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @eslint-react/eslint-plugin from 4.2.3 to 5.6.0.

Release notes

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

v5.6.0 (2026-04-29)

What's Changed

This release consolidates all changes since v4.2.1.

💥 Breaking Changes

Core API Refactoring (@​eslint-react/core)

  • Performed a large-scale flattening refactor of the core package's internal structure, merging modules previously scattered across subdirectories like component/, function/, hook/, semantic/, and api/ into the root directory.
  • Renamed several core APIs:
    • isReactAPI → isAPI
    • isReactAPICall → isAPICall
    • isInitializedFromReact → isAPIFromReact
    • isInitializedFromReactNative → isAPIFromReactNative
    • ComponentDetectionHint → FunctionComponentDetectionHint
    • ComponentFlag → FunctionComponentFlag
    • getComponentCollector → getFunctionComponentCollector
    • getComponentCollectorLegacy → getClassComponentCollector
  • Migrated type utilities (type-is, type-name, type-variant) from eslint-plugin-react-x to @eslint-react/core.
  • Updated the Toolkit interface in @eslint-react/kit to reflect the naming changes above.

Kit API Simplification (@​eslint-react/kit)

  • Simplified RuleToolkit.is API: Removed pre-built identifier predicates (memo, lazy, forwardRef, etc.) from RuleToolkit.is. Only *Call variants and API/APICall factories are now available.
  • Renamed initialization checkers:
    • initializedFromReact → APIFromReact
    • initializedFromReactNative → APIFromReactNative
  • Code using is.memo(node), is.lazy(node), etc. must migrate to is.memoCall(node) or use is.API("memo")(node).

Type Alias Removal

  • Removed deprecated RuleDefinition type alias: The RuleDefinition type has been completely removed from @eslint-react/kit. Use RuleFunction instead.

Removed Rules

The following rules have been removed from eslint-plugin-react-x, eslint-plugin-react-dom, and eslint-plugin-react-debug:

Rule Package Notes
component-hook-factories react-x Removed from all configs
no-redundant-should-component-update react-x Removed from all configs
no-unnecessary-use-callback react-x Removed from all configs
no-unnecessary-use-memo react-x Removed from all configs
no-unused-state react-x Removed from all configs
prefer-destructuring-assignment react-x Removed from all configs
prefer-namespace-import react-x Removed from all configs
prefer-namespace-import react-dom Removed from all configs
debug/class-component react-debug Removed from all configs

... (truncated)

Changelog

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

v5.6.0 (2026-04-29)

This release consolidates all changes since v4.2.1.

💥 Breaking Changes

Core API Refactoring (@​eslint-react/core)

  • Performed a large-scale flattening refactor of the core package's internal structure, merging modules previously scattered across subdirectories like component/, function/, hook/, semantic/, and api/ into the root directory.
  • Renamed several core APIs:
    • isReactAPI → isAPI
    • isReactAPICall → isAPICall
    • isInitializedFromReact → isAPIFromReact
    • isInitializedFromReactNative → isAPIFromReactNative
    • ComponentDetectionHint → FunctionComponentDetectionHint
    • ComponentFlag → FunctionComponentFlag
    • getComponentCollector → getFunctionComponentCollector
    • getComponentCollectorLegacy → getClassComponentCollector
  • Migrated type utilities (type-is, type-name, type-variant) from eslint-plugin-react-x to @eslint-react/core.
  • Updated the Toolkit interface in @eslint-react/kit to reflect the naming changes above.

Kit API Simplification (@​eslint-react/kit)

  • Simplified RuleToolkit.is API: Removed pre-built identifier predicates (memo, lazy, forwardRef, etc.) from RuleToolkit.is. Only *Call variants and API/APICall factories are now available.
  • Renamed initialization checkers:
    • initializedFromReact → APIFromReact
    • initializedFromReactNative → APIFromReactNative
  • Code using is.memo(node), is.lazy(node), etc. must migrate to is.memoCall(node) or use is.API("memo")(node).

Type Alias Removal

  • Removed deprecated RuleDefinition type alias: The RuleDefinition type has been completely removed from @eslint-react/kit. Use RuleFunction instead.

Removed Rules

The following rules have been removed from eslint-plugin-react-x, eslint-plugin-react-dom, and eslint-plugin-react-debug:

Rule Package Notes
component-hook-factories react-x Removed from all configs
no-redundant-should-component-update react-x Removed from all configs
no-unnecessary-use-callback react-x Removed from all configs
no-unnecessary-use-memo react-x Removed from all configs
no-unused-state react-x Removed from all configs
prefer-destructuring-assignment react-x Removed from all configs
prefer-namespace-import react-x Removed from all configs
prefer-namespace-import react-dom Removed from all configs
debug/class-component react-debug Removed from all configs

Class Component Support Deprecation

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 29, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/eslint-react/eslint-plugin-5.6.0 branch from 3c9a900 to 751a0bc Compare April 29, 2026 14:26
@nstepien
nstepien merged commit 0dbd4c2 into main Apr 29, 2026
1 check passed
@nstepien
nstepien deleted the dependabot/npm_and_yarn/eslint-react/eslint-plugin-5.6.0 branch April 29, 2026 16:10
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