Skip to content

switch_case_on_newline should ignore comments #874

Closed
@bsrz

Description

Triggering example:

switch myValue {
case .myCase: // error from network
    break
default:
    break
}

Expectation would be to ignore comments on the same line as the case.

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