Skip to content

New rule: no-unused-dependencies #75

@afahim

Description

@afahim

Do we have a rule that checks if all the dependencies required are actually utilized within the file or not?

For instance, for a file with such contents

define([
    "underscore",
], function(
    _,
) {
    console.log("hi");
});

It would say something like 'warning: you have required underscore but aren't actually using it.'

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions