What's Changed
🐞 Fixes
react-web-api/no-leaked-fetch: fixed a false positive where anabortcall nested in a callback within the cleanup function (e.g.setTimeout(() => ctrl.abort())) was not recognized, causing a spuriousexpectedAbortInCleanupreport; theabortlookup now finds the nearest enclosing setup/cleanup function instead of requiring the innermost one. (#1962)
Full Changelog: v5.20.4...v5.20.5
Attestation
https://github.com/Rel1cx/eslint-react/attestations/48898603