[eslint-plugin-react-hooks] Fixed crash when referencing arguments in arrow functions. (#16356)
* Fixed issue with def being undefined while referencing arguments. * Removed todo comment. * Skip exhaustive deps check if def is null. * Fixed code formatting in ExhaustiveDeps. * Removed unneeded comment in ExhaustiveDeps.
H
Hristo Kanchev committed
9e64bf18e11828d6b4c0363bff5ed2eca1ccd838
Parent: e308a03
Committed by Dan Abramov <dan.abramov@gmail.com>
on 8/14/2019, 1:44:06 PM