You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v7 this now fails the rule because it thinks both imports are the same.
node_modules/@mui/icons-material/esm/icon.d.ts' imported multiple times import-x/no-duplicates
Is this expected? I'm assuming you can no longer do this and have to do option 2 from the guide now if you want to use rules such as these with esm? Or is there a problem with the typedefinitions?
Search keywords:
The text was updated successfully, but these errors were encountered:
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
In our project we use eslint rules such as
no-duplicate-import
. In v6 you could do the following and it work perfectly fine:In v7 this now fails the rule because it thinks both imports are the same.
Is this expected? I'm assuming you can no longer do this and have to do option 2 from the guide now if you want to use rules such as these with esm? Or is there a problem with the typedefinitions?
Search keywords:
The text was updated successfully, but these errors were encountered: