Skip to content

Detect when ES can be replaced with lodash #7

@gajus

Description

@gajus

e.g.

Object.keys(commands)
    .map((key) => {
        return commands[key];
    })
    .forEach((cmd) => {
        if (cmd.yargsSetup) {
            cmd.yargsSetup();
        }

        if (cmd.examples) {
            cmd.examples();
        }
    });

warn that Object.keys can be replaced with _.keys.

This would be great for consistency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions