Open
Description
Environment
Node version:
npm version:
ESLint version:
eslint-plugin-n version:
Operating System:
What rule do you want to report?
n/no-extraneous-import
Link to Minimal Reproducible Example
What did you expect to happen?
When in a workspace setup and a root-level package.json
has a dependency not listed in nested packages, that dependency should not be considered missing. But I'm setting it as missing.
Note that although the repro playground has a package.json
"workspaces"
entry, not every workspace setup has that. pnpm workspaces use a separate pnpm-workspace.yaml
.
Participation
- I am willing to submit a pull request for this issue.
Additional comments
Related, for n/no-missing-imports
: #184.