dillon1000/react

Commit

[ESLint] don't warn for Flow type variables (#15804)

In Exhaustive Deps check for react-hooks don't warn if the dependency is
a Flow type variable.
Browse files
Changed paths2 files
First-parent comparison
M packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js ModifiedM packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…