What's Changed
🐞 Fixes
react-jsx/no-leaked-dollar: the intentional-$exemption (e.g.<div>${price}</div>) is no longer defeated by surrounding whitespace or empty siblings — a lone$before a single expression is now allowed whenever all other siblings are non-substantive. (#1911)react-jsx/no-leaked-semicolon: consecutive leaked semicolons (e.g.;;) at the start of a JSX text node are now detected. (#1911)
📝 Documentation
react-x/no-unnecessary-use-prefix: reorganized the rule examples.
🏗️ Internal
react-jsx: extracted the sharedfind-create-element-children-propandremove-jsx-attributerule helpers, removed deadLiteralvisitors fromno-comment-textnodesandno-leaked-semicolon, simplified theno-key-after-spreadattribute scan, and hoistedno-useless-fragmentdetection and fix helpers to module level. (#1911)@local/eff: synced theFunctionmodule with effect and added missing@categorytags.- Unified JSDoc comment style across packages.
Full Changelog: v5.16.1...v5.17.0
Attestation
https://github.com/Rel1cx/eslint-react/attestations/35743201