Replace _.noop with arrow Functionpro

Replace _.noop with () => undefined.

Refactoring (Convert)
Modernization
ES2015
P42 for VS Code
Pro & Business
Replace _.noop with arrow Function

Why is this refactoring helpful?

With the introduction of arrow functions in ES2015, you can express _.noop with similarly short standard JavaScript. This refactoring reduces the dependency on Lodash.

Configuration

Related Code Assists

Learn More

Available In