Skip to content

Check all imports are via using (not import) #131

@nickrobinson251

Description

@nickrobinson251

Would very much like this feature -- does it seem possible and a fit for this package?

i.e. convert

import Foo
import Bar: baz

to

using Foo: Foo
using Bar: Bar, baz

Users may need to change their code (if they previously extended baz like baz() = ... to do so like Bar.baz() = ...) so we'd have to tell them to do that in the text output i guess

(Perhaps we could even identify if any methods were extended this way? And list them? And choose between using Bar: Bar, baz and using Bar: baz appropriately?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions