Skip to content

ESLint Warning n/no-extraneous-import #1437

@danielpeintner

Description

@danielpeintner

With #1424 we introduced some new eslint warnings.

One warning is n/no-extraneous-import

"n/no-extraneous-import": "warn",

Setting it to error reports lots of issues

Image

Anyhow, I think the eslint plugin has a problem and does not take into account root-level package.json which contains the dependencies.

see also eslint-community/eslint-plugin-n#209

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