Commit 8f8b336
authored
[eslint] Fix useEffectEvent checks in component syntax (facebook#35041)
We were not recording uEE calls in component/hook syntax. Easy fix.
Added tests matching function component syntax for component syntax +
added one for hooks1 parent d000261 commit 8f8b336
File tree
2 files changed
+356
-0
lines changed- packages/eslint-plugin-react-hooks
- __tests__
- src/rules
2 files changed
+356
-0
lines changed
0 commit comments