Skip to content

Discussion on indentation rules around '#if' during linting #139

@JonatanWaern

Description

@JonatanWaern

Lint gives incorrect warning for statements inside #if in case.

switch (foo) {
case 0:
    #if (true) {
        bar();
    }
}

Will warn on the 'bar();' line

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinterWork or bugs relating to the linting functionalityquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions