Skip to content

Feature Request: Support for trailing commas in lists (SE-0439) #946

@glbrntt

Description

@glbrntt

SE-0439 adds support for trailing commas in more places. This is new to Swift 6.1.

When developing packages for multiple Swift versions it'll be easy to accidentally add a trailing comma which is fine locally but won't get caught on older Swift versions until tested in CI.

It'd be great to have a formatter rule which can enforce they are either always applied, never applied, or ignored.

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