-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
no-extraneous-dependencies does not report when importing from subfolder #1918
Comments
It looks like the issue is caused by |
pkuczynski
added a commit
to pkuczynski/eslint-plugin-import
that referenced
this issue
Oct 5, 2020
I created some tests illustrating the issue #1919. Maybe they would help to solve it... |
ljharb
pushed a commit
to pkuczynski/eslint-plugin-import
that referenced
this issue
Jan 31, 2021
There is a similar failure for namespaced packages. |
ljharb
pushed a commit
to pkuczynski/eslint-plugin-import
that referenced
this issue
Aug 8, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My eslint settings:
and package.json:
The following import does not error:
However it does error, when using exact package name:
Its quite common practice, so I believe it should complain also when referencing individual files from a package...
The text was updated successfully, but these errors were encountered: