What's Changed
🐞 Fixes
react-jsx/no-useless-fragment: lone-CR whitespace, including , is now treated as formatting padding like LF and CRLF. (#2092)react-dom/no-void-elements-with-children: lone-CR whitespace no longer counts as children of void elements. (#2092)react-dom/no-dangerously-set-innerhtml-with-children: lone-CR whitespace no longer counts as children alongsidedangerouslySetInnerHTML. (#2092)react-web-api/no-leaked-event-listener: calls to function parameters are no longer mistaken for the enclosing function declaration during cleanup pairing. (#2092)
🏗️ Internal
@eslint-react/jsx: padding detection now follows Babel'scleanJSXElementLiteralChild, recognizing\rand\r\nline breaks; child predicates share composed helpers. (#2092)eslint-plugin-react-web-api: reorganized theno-leaked-event-listenerhelpers intolib.ts; cleanup callee resolution now usesresolveandExtract.getPropertyName. (#2092)
Full Changelog: v5.30.0-beta.10...v5.30.0-beta.11
Attestation
https://github.com/Rel1cx/eslint-react/attestations/60455786