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
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