Skip to content

ESLint rule and have Prettier handle import type { Type } Pattern #2129

Closed
@JacobMGEvans

Description

@JacobMGEvans
    > Is there something wrong with the `import { type ..., ... }` pattern? I think I've used that in various places

@penalosa consistency, we started with the import type { FetchError } from "../cfetch"; and would like to keep it consistent, we should at it as a ESLint rule and have Prettier handle it if it can.

Originally posted by @JacobMGEvans in #2064 (comment)
Cc: @penalosa

Metadata

Metadata

Assignees

Labels

maintenanceMaintenance taskpolishSmall improvements to the experiencequick winPotentially easy/straightforward issue to tackle

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions