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-named-default: Should ignore type import #2130
Comments
GoodForOneFare
added a commit
to GoodForOneFare/eslint-plugin-import
that referenced
this issue
Jul 10, 2021
GoodForOneFare
added a commit
to GoodForOneFare/eslint-plugin-import
that referenced
this issue
Jul 10, 2021
GoodForOneFare
added a commit
to GoodForOneFare/eslint-plugin-import
that referenced
this issue
Jul 10, 2021
#2149 fixed no-duplicates; the proper thing is to use two statements (until TS fixes things so it properly accepts them in the same statement). |
8 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sample code:
Getting error:
Use default import syntax to import 'Vue'
However, this code produces typescript error:
And this code triggers import/no-duplicates rule:
So, either:
A) the original code should be ignored because there is no alternative for it.
or
B) import/no-duplicates should allow the last code.
See also:
#2114
The text was updated successfully, but these errors were encountered: