I guess many developers imports `lodash` or `underscore` 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?
Activity
gaearon commentedon Jan 12, 2017
It’s often pretty useful. Since even Lodash itself doesn’t recommend using the single import I think it’s fine to be honest.
escaton commentedon Jan 12, 2017
Actually i find this while replacing single imports :) but i was searching for
_.*and missed unused imports.gaearon commentedon Feb 11, 2017
Going to close unless more people bump into this problem. Thanks for reporting in either case!
gaearon commentedon Mar 5, 2017
We’re going to fix it in #1719.
escaton commentedon Mar 5, 2017
👍