eslint-plugin-lodash icon indicating copy to clipboard operation
eslint-plugin-lodash copied to clipboard

updated import-scope

Open westandy opened this issue 3 years ago • 6 comments

westandy avatar Dec 06 '22 23:12 westandy

I am sure I missed a bunch of stuff. I'm am trying to provide a "fix" method for

import { thing, one, two, three } from 'lodash';

to

import one from 'lodash/one';
import thing from 'lodash/thing';
import three from 'lodash/three';
import two from 'lodash/two';

westandy avatar Dec 06 '22 23:12 westandy

@idok @westandy any chance we can merge this 👀

peter-cardenas-ai avatar Aug 13 '24 02:08 peter-cardenas-ai

Thanks for the contribution, please format the code. Tests would also be great

idok avatar Aug 13 '24 15:08 idok