DEV Community


Catching Lodash Methods with Linting

theayjaweems profile image Ayja Weems ・1 min read

Hello awesome! I am working on a project with a team that has used lodash in the past to access some methods that can transform/manipulate arrays. Now that some of these methods are a part of native JS, there isn't really a need for lodash methods like .filter, .map, .reduce, .concat, .findIndex, etc.

So my question to anyone that's willing to answer is, is there a way to configure the linter to catch the use of those unnecessary lodash methods?


Editor guide
wolfhoundjesse profile image
Jesse M. Holmes

I've never used this one, but someone has!