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

Prefer inline type imports #54

Closed
dglsparsons opened this issue Nov 7, 2022 · 2 comments
Closed

Prefer inline type imports #54

dglsparsons opened this issue Nov 7, 2022 · 2 comments

Comments

@dglsparsons
Copy link

import-js/eslint-plugin-import#2469

Would much prefer

import { type Foo } from 'some/package` 

over

import type { Foo } from 'some/package`

as it keeps the single import line, and all related entries together.

import-js/eslint-plugin-import#2475 looks like it may block this though.

@mrmckeb
Copy link
Contributor

mrmckeb commented Nov 7, 2022

Thanks @dglsparsons! We're waiting for the next release to enable this - but it's definitely on our list.

Closing as a duplicate of this: #38

@mrmckeb mrmckeb closed this as not planned Won't fix, can't repro, duplicate, stale Nov 7, 2022
@dglsparsons
Copy link
Author

Oh, good spot. I checked to see if it existed already. Must have somehow missed the other 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

No branches or pull requests

2 participants