Skip to content

consider a bulk fix for removing unused imports #43886

Closed
@pq

Description

@pq

It seems like this is a pretty common case and a fix trivial.

There is a potential interaction w/ data-driven fixes. Brian pointed out in chat:

we could have a data-driven fix that adds a reference to a name imported by a previously unused import. Remove the import because it used to be unused would leave the user with an undefined identifier that they might not know how to import.

My inclination is to cross that bridge when we get to it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions