Skip to content

(🎁) new rule: in type annotations, prefer None appears at the end of unions #14290

@KotlinIsland

Description

@KotlinIsland
a: None | int

i would prefer this to be written a: int | None

Metadata

Metadata

Assignees

No one assigned

    Labels

    ruleImplementing or modifying a lint ruletypingRelated to type annotations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions