-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: package.json import results in no-missing-import #285
Comments
Thank you for the report, I will look later today! |
This looks to be related to these: I think the simplest solution would be a plugin that resolves the node modules to stubs, but it's a tough one. |
Hm... Just curious, those are really old issues, but this regression is very recent? |
I would love to use |
might be worth it to fallback to the polyfill in the meantime? https://github.com/wooorm/import-meta-resolve |
Environment
Node version: 20.14.0
npm version: 10.7.0
ESLint version: 8.57.0
eslint-plugin-n version: >=17.5.0
What rule do you want to report?
n/no-missing-import
Link to Minimal Reproducible Example
dotcore64/chai-ip#242
What did you expect to happen?
When package.json contains:
and I
import { isIP } from "#is-ip"
, the rule should passParticipation
Additional comments
This regression started in
17.5.0
, so probably by this PRThe text was updated successfully, but these errors were encountered: