What's Changed
🐞 Fixes
Compare.isEqualnow recognizes structurally identicalCallExpressionnodes. This fixes false positives in the following rules when the compared target (event target, controller, or observed element) is derived from a function call such aswindow.matchMedia('…')orgetEl():react-web-api/no-leaked-event-listenerreact-web-api/no-leaked-fetchreact-web-api/no-leaked-resize-observerreact-web-api/no-leaked-intersection-observer
Full Changelog: v5.9.4...v5.9.5
Attestation
https://github.com/Rel1cx/eslint-react/attestations/32856673