dillon1000/react

Commit

[ESLint] Treat functions that don't capture anything as static (#14996)

* Treat functions that don't capture anything as static

* Fix comment
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…