You-Dont-Need-Lodash-Underscore icon indicating copy to clipboard operation
You-Dont-Need-Lodash-Underscore copied to clipboard

Consider adding an ESLint rule for _.chain

Open theblang opened this issue 4 years ago • 1 comments

I think it would be super helpful to have an ESLint rule that checks for _.chain usage. It breaks the mold of the other methods / rules in that it has no direct translation to ES2015, it just goes away; so I can see why it doesn't exist. But it'd still be nice to see where in code it is being used via ESLint, especially since it appears to break tree-shaking with lodash.

theblang avatar Nov 20 '19 20:11 theblang

PR welcome

stevemao avatar Nov 20 '19 23:11 stevemao