Skip to content

trailing_comma incorrectly flags [SomeType]() #911

Closed
@ZevEisenberg

Description

This code:

var imageViews = [UIImageView]()

is causing a warning when I have this in my SwiftLint configuration:

trailing_comma:
  mandatory_comma: true

This is with SwiftLint 0.13.1.

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected and reproducible misbehavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions