Skip to content
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

Known import/no-duplicates issues with TypeScript #60

Open
frantic1048 opened this issue Dec 1, 2023 · 0 comments
Open

Known import/no-duplicates issues with TypeScript #60

frantic1048 opened this issue Dec 1, 2023 · 0 comments
Assignees

Comments

@frantic1048
Copy link
Contributor

frantic1048 commented Dec 1, 2023

As we are adding ESLint rules for explicit type imports/exports(#55), it has come to our attention that the import/no-duplicates rule encounters certain problems when it comes to type imports/exports(notably with prefer-inline option).

Although it is unlikely for these issues to arise based on our current configuration, we are utilizing this issue to monitor and address any potential challenges that may occur.

  1. [no-duplicates] Bad auto fix for typescript import-js/eslint-plugin-import#2697
  2. [import/no-duplicates] {"prefer-inline": true} does not work import-js/eslint-plugin-import#2715
  3. [import/no-duplicates] (prefer-inline) Autofix merges imports incorrectly import-js/eslint-plugin-import#2792
  4. feature request: add ignore options for import/no-duplicates import-js/eslint-plugin-import#1479
@frantic1048 frantic1048 self-assigned this Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant