Skip to content

Commit

Permalink
[ESLint] Add more hints to lint messages (#15046)
Browse files Browse the repository at this point in the history
* 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 appropriate
  • Loading branch information
gaearon authored Mar 7, 2019
1 parent 6d2666b commit 197703e
Show file tree
Hide file tree
Showing 2 changed files with 744 additions and 44 deletions.
Loading

0 comments on commit 197703e

Please sign in to comment.