-
-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let eslint check unused lodash import #1387
Comments
It’s often pretty useful. Since even Lodash itself doesn’t recommend using the single import I think it’s fine to be honest. |
Actually i find this while replacing single imports :) but i was searching for |
Going to close unless more people bump into this problem. Thanks for reporting in either case! |
We’re going to fix it in #1719. |
👍 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I guess many developers imports
lodash
orunderscore
as_
but then it turns out that eslint ignores unused imports of that modules because of that line in config:https://github.com/facebookincubator/create-react-app/blob/master/packages/eslint-config-react-app/index.js#L135
Is it necessary?
The text was updated successfully, but these errors were encountered: