-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fix import/no-extraneous-dependencies error #11
Comments
Should be, could hardcode |
or maybe at this line, replace |
Could you post a reproduction? I can't replace If you post a reproduction I'll take a look at it. |
This is the line that's generating it
Or did you want a full repo reproduction? Because that will be trickier |
Ideally a full reproduction. If you give me a full reproduction I can fix it much more quickly, otherwise it'll have to wait until I have time to set up a project and reproduce it before I can look at the actual issue. |
Same problem here .. I have this error on
|
I remember running into this a couple months ago actually. I simply shut the rule off. I couldn't figure out a way around it. Any other idea @benmosher? Could we add an |
Ah, yeah, actually, I misunderstood the issue at first. I think you could use the # .eslintrc.yml
settings:
import/core-modules: [ meteor ] No way to expose that via the resolver API ATM, I think. Though that would be cool... |
I created a reproduction repository. I got the following errors.
|
Thanks for the repro! I played around with a few different settings but I couldn't get the resolver to ignore the |
I ran into this yesterday. I eventually silenced it in .eslintrc with:
|
Of course you can fix the issue on a case-by-case basis by including every single |
How's this issue coming along? |
It's being tracked in the linked issue import-js/eslint-plugin-import#479. I'm sure @benmosher would accept a PR if you wanted to help out. |
Any progress? |
+1 Would also like this to be fixed |
Don't put +1s here, I can't fix it. Please post in the appropriate issue (import-js/eslint-plugin-import#479). |
Using this plugin along with airbnb's config, results in the error
'meteor' should be listed in the project's dependencies. Run 'npm i -S meteor' to add it import/no-extraneous-dependencies
Is this fixable through this package?
The text was updated successfully, but these errors were encountered: