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

no-duplicates autofix incorrectly combines type and non-type typescript imports #231

Open
steved-stripe opened this issue Feb 13, 2025 · 0 comments · May be fixed by #232
Open

no-duplicates autofix incorrectly combines type and non-type typescript imports #231

steved-stripe opened this issue Feb 13, 2025 · 0 comments · May be fixed by #232

Comments

@steved-stripe
Copy link

Before:

import {
  type ComponentToken,
  type ValidateAllPermissions,
  type ValidatePermissions,
  checkPermissions,
} from 'foo';
import type {FunctionParameterToken} from 'foo';

After:

import type {
  type ComponentToken,
  FunctionParameterToken,
  type ValidateAllPermissions,
  type ValidatePermissions,
  checkPermissions,
} from 'foo';

I think we'd ignore this case

@steved-stripe steved-stripe linked a pull request Feb 13, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant