-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
import/named does not report non-existent exports in yarn workspace #2005
Comments
Hey @jd2rogers2 , I encountered a similar false positive error in my project and managed to fix it with the following:
|
@jd2rogers2 yes, since my comment I realized that it happens with or withour |
@Skidle still no luck on my end :( were you testing in your own repo or by cloning down mine? if you're working in another project would love to be able to find out the differences somehow |
@jd2rogers2 you need also to change |
I've just encountered this and was able to determine that the existence of the "import/resolver" key, even if the value is just an empty object, is what's causing Still working on figuring out how to get it working with an import/resolver, but that should give some clue. |
https://github.com/jd2rogers2/eslint-plugin-import-bug-minimal-repo for testing it for yourself
as seen above, no report for
import/named
despite not having anhelloFooV2
export fromfoo/index.js
foo
andbar
are both separate workspaces,bar
listsfoo
as a dependency, and foo is innode_modules
i would expect it to report
maybe a larger issue as there is also #1832
The text was updated successfully, but these errors were encountered: