Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants