Skip to content

Update rule to prefer import {type X} over import type {X} #64

@fregante

Description

@fregante

The rule has been improved:

I had disabled it until now because the autofix duplicated module imports between regular import value and import type Type. They just added an option to avoid that and instead mark each type independently:

import {value, type Type} from 'lib'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions