SIGN IN SIGN UP

[eslint-plugin-react-hooks] Disallow hooks in class components (#18341)

Per discussion at Facebook, we think hooks have reached a tipping point where it is more valuable to lint against potential hooks in classes than to worry about false positives.

Test plan:
```
# run from repo root
yarn test --watch RuleOfHooks
```
I
Ian Obermiller committed
d3368beeecb2b51f51814f95f977e8c11900f54e
Parent: 8206b4b
Committed by GitHub <noreply@github.com> on 3/18/2020, 7:55:13 PM