What's Changed
🐞 Fixes
@eslint-react/ast: removedExtract.getPropertyNameand addedExtract.getCalleeNamefor simpler callee name resolution. (#1905)- Rules that match calls by method name no longer treat computed string-literal property access as a static match (e.g.
obj["foo"]()is no longer resolved to"foo"). This avoids relying on the runtime value of computed keys and aligns callee matching across the codebase. Affected rules:react-dom/no-dangerously-set-innerhtmlreact-dom/no-find-dom-nodereact-dom/no-flush-syncreact-web-api/no-leaked-event-listenerreact-web-api/no-leaked-fetchreact-x/globalsreact-x/immutability
core.isJsxLike: no longer treatsReact['createElement']calls as JSX-like, since the callee is accessed through a computed member expression.
🏗️ Internal
- Simplified callee name checks across
core,react-dom,react-web-api, andreact-xrules usingExtract.getCalleeName. - Bumped
@effect/platform,effect,fumadocs-core,fumadocs-mdx,fumadocs-ui,postcss,pnpm, andtsdown.
Full Changelog: v5.14.8...v5.14.9
Attestation
https://github.com/Rel1cx/eslint-react/attestations/35295648