Commit Graph

2 Commits

Author SHA1 Message Date
Sophie Alpert 3db8b80e15
Don't lint against Hooks after conditional throw (#14040)
Seems like this should be OK. Fixes #14038.

Now when tracking paths, we completely ignore segments that end in a throw.
2018-10-30 17:13:24 -07:00
Caleb Meredith ddbfe2ed50 Add ESLint rule for React Hooks 2018-10-29 11:26:54 -07:00