npm @eslint-react/eslint-plugin 5.12.0-beta.0
v5.12.0-beta.0 (2026-07-07)

latest release: 5.12.0-beta.1
4 hours ago

What's Changed

✨ New

  • Reworked react-x/immutability to align with the React Compiler's ValidateNoFreezingKnownMutableFunctions validation pass: it now detects functions that (transitively) mutate a captured local variable and reports them when passed as a JSX prop, passed as a hook argument, or returned from a hook. The direct state/props mutation checks, the mutatingArrayMethod, mutatingAssignment, and noRefLikeStateName diagnostics, and the additionalStateHooks option have been removed. A new mutates diagnostic is now reported at the mutation site alongside the existing usage-site diagnostic. (#1891)

Full Changelog: v5.11.3...v5.12.0-beta.0

Attestation

https://github.com/Rel1cx/eslint-react/attestations/34176725

Don't miss a new eslint-plugin release

NewReleases is sending notifications on new releases.