dillon1000/react
Commit
Browse files [eslint-plugin-react-hooks] Fixed crash when referencing arguments in arrow functions. (#16356)
* Fixed issue with def being undefined while referencing arguments. * Removed todo comment. * Skip exhaustive deps check if def is null. * Fixed code formatting in ExhaustiveDeps. * Removed unneeded comment in ExhaustiveDeps.
Changed paths2 files
First-parent comparisonpackages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js ModifiedM packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…