dillon1000/react

Commit

Revert "Revert "[ESLint] Forbid top-level use*() calls (#16455)"" (#16525)

* Revert "Revert "[ESLint] Forbid top-level use*() calls (#16455)" (#16522)"

This reverts commit 507f0fb372705c4c6ac5288db3651019b1d0927b.

* Update RulesOfHooks.js
Browse files
Changed paths2 files
First-parent comparison
M packages/eslint-plugin-react-hooks/__tests__/ESLintRulesOfHooks-test.js ModifiedM packages/eslint-plugin-react-hooks/src/RulesOfHooks.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…