npm @eslint-react/eslint-plugin 5.30.0-beta.7
v5.30.0-beta.7 (2026-10-27)

3 hours ago

What's Changed

🐞 Fixes

  • react-x/no-duplicate-key: reworked duplicate detection to cover non-adjacent and static keys, .flatMap()/Array.from() callbacks, and Children-rekeyed output; bare or whitespace-separated key attributes are no longer skipped. (#2088)
  • react-x/no-direct-mutation-state: state assignments in nested constructor blocks are no longer reported. (#2088)
  • react-x/no-missing-context-display-name: the autofix no longer produces invalid syntax for multi-declarator declarations. (#2088)
  • react-x/no-missing-key: TypeScript-wrapped iterator callbacks are now unwrapped before checking. (#2088)
  • react-x/no-unused-class-component-members: statically resolvable computed reads and destructuring are now counted as usages. (#2088)

🪄 Improvements

  • Added fast-path text checks so rules skip AST traversal when their target term is absent from the file. (#2088)

    Affected rules:

    • react-x/no-children-count
    • react-x/no-children-for-each
    • react-x/no-children-map
    • react-x/no-children-only
    • react-x/no-children-to-array
    • react-x/no-clone-element
    • react-x/no-direct-mutation-state
    • react-x/no-implicit-children
    • react-x/no-implicit-key
    • react-x/no-implicit-ref
    • react-x/no-nested-lazy-component-declarations
    • react-x/no-unused-class-component-members

🏗️ Internal

  • @eslint-react/eslint: added a complete helper for merging rule options with defaults; rules now use it, with type-annotated schemas and defaults kept in meta.defaultOptions. No behavior change. (#2088)
  • eslint-plugin-react-x: added shared iterator-callback detection for no-missing-key and no-duplicate-key; updated rule implementation docs and cleaned up stale comments and JSDoc. No behavior change. (#2088)

Full Changelog: v5.30.0-beta.6...v5.30.0-beta.7

Attestation

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

Don't miss a new eslint-plugin release

NewReleases is sending notifications on new releases.