react/packages/eslint-plugin-react-hooks/__tests__
Ian Obermiller d3368beeec
[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
```
2020-03-18 19:55:13 +00:00
..
ESLintRuleExhaustiveDeps-test.js Update eslint rule exhaustive deps to use new suggestions feature (#17385) 2020-02-17 20:24:27 +00:00
ESLintRulesOfHooks-test.js [eslint-plugin-react-hooks] Disallow hooks in class components (#18341) 2020-03-18 19:55:13 +00:00