Skip to content

Enforce sorted imports #139

@TwitchBronBron

Description

@TwitchBronBron

Add rule to enforce imports are in alphabetic order. If there's a space between a group of imports, that's a new group and should be sorted on its own. For example:

'this group of 3 is sorted together
import "a"
import "b"
import "c"

'this group of 2 is sorted together
import "d"
import "e"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions