-
-
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
Incorrect behavior of import/order in a monorepo setup - using internal package in workspace #3001
Comments
The plugin doesn't know that '@workspace/*` is internal unless you tell it to treat as internal. can solve one of two ways:
or via path group in this rules config see: https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/order.md#pathgroups-array-of-objects |
But I already did the second option,
You can see it in the main post |
Apologies, I missed that in your config. You are using group: 'external' and using the default set of values for
|
thanks it worked |
Hi, I have configured
import/order
:But yet,
eslint-plugin-import
won't throw for:I want these 2 imports to be separate (
newlines-between
). And just to clarify, it won't throw for this as well:The text was updated successfully, but these errors were encountered: