eclipse-thingweb / eclipse-thingweb/node-wot

ESLint Warning n/no-extraneous-import

Open
#1,437 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

With https://github.com/eclipse-thingweb/node-wot/pull/1424 we introduced some *new* eslint warnings.

One warning is `n/no-extraneous-import`

https://github.com/eclipse-thingweb/node-wot/blob/736f2803f3eceac36919d0455d7713272bbcad46/eslint.config.mjs#L85

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 https://github.com/eslint-community/eslint-plugin-n/issues/209

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.