Commit 197703e
authored
[ESLint] Add more hints to lint messages (#15046)
* A clearer message for props destructuring where applicable
* Add line number to the "move function" message
* Add a hint for how to fix callbacks from props
* Simplify code and harden tests
* Collect all dependency references for better warnings
* Suggest updater or reducer where appropriate1 parent 6d2666b commit 197703e
File tree
2 files changed
+744
-44
lines changed- packages/eslint-plugin-react-hooks
- __tests__
- src
2 files changed
+744
-44
lines changed
0 commit comments