Skip to content

False positive closure_end_indentation introduced in version 0.60.0 #6216

@F1248

Description

@F1248

New Issue Checklist

Bug Description

As simplified as possible:

_ = { {
	false
} } // warning: Closure End Indentation Violation: expected 0, got 2 (closure_end_indentation)

Command:

$ swiftlint lint path/to/file.swift --config path/to/config.yml

Environment

  • SwiftLint version: 0.60.0
  • Configuration file:
only_rules:
    - closure_end_indentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnexpected and reproducible misbehavior.discussionTopics that cannot be categorized as bugs or enhancements yet. They require further discussions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions