What's Changed
🐞 Fixes
react-x/immutability: the first parameter of a function is now classified as props only when the function is a confirmed component — one that returns JSX or calls hooks — so mutating the first parameter of a function that merely looks like a component (e.g. an event-handler factory whose returned function never renders and calls no hooks) is no longer reported. (#1952, closes #1951)
🏗️ Internal
react-x/immutability: renamedMUTATING_METHODS/NAVIGATION_HOOKStoKNOWN_MUTATING_METHODS/KNOWN_MUTATING_HOOKSand added precise behavior boundary tests.react-x/globals: restructured internals (split intocollect,effects, andoriginsmodules) to match the in-progressfeat/environment-configimplementation; no behavior change.- Website: awaited the async llms.txt index generation and fixed the website data update step to run before building.
- CI: removed the generated file verification step.
- Bumped
typescript-eslintto8.70.0,react/react-domto19.3.0,nextto16.3.5,viteto8.3.0,effectto3.22.2,fumadocsto16.15.10,eslint-plugin-jsdocto64.3.9,tailwind-mergeto3.7.0,ansisto4.4.0,nxto23.2.1,eslint-plugin-react-refreshto0.5.6,eslint-plugin-package-jsonto1.8.1,@types/nodeto26.5.1,@types/reactto19.3.0,@types/react-domto19.3.0, andpnpmto12.4.1.
Full Changelog: v5.19.0...v5.19.1
Attestation
https://github.com/Rel1cx/eslint-react/attestations/47410636