dillon1000/react
Commit
Browse files Don't lint against Hooks after conditional throw (#14040)
Seems like this should be OK. Fixes #14038. Now when tracking paths, we completely ignore segments that end in a throw.
Changed paths2 files
First-parent comparisonpackages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js ModifiedM packages/eslint-plugin-react-hooks/src/RulesOfHooks.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…