-
-
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/no-cycle ignoreExternal does not work for external scoped modules #2258
Labels
Comments
Can you help provide a test case? |
I'm also a bit confused why |
johgoe
pushed a commit
to johgoe/eslint-plugin-import-2258
that referenced
this issue
Oct 13, 2021
@ljharb I prepared a small sample project in which My sample project is https://github.com/johgoe/eslint-plugin-import-2258 |
mx-bernhard
added a commit
to mx-bernhard/eslint-plugin-import
that referenced
this issue
Oct 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A module with name @babel/core seems not to be a external module for the rule
Reason seems to be
eslint-plugin-import/src/core/importType.js
Line 32 in 9cc1654
isModule(name) && isExternalPath(name, settings, path, getContextPackagePath(context));
instead of
(isModule(name) || isScopedModule(name)) && isExternalPath(name, settings, path, getContextPackagePath(context));
The text was updated successfully, but these errors were encountered: