Skip to content

Indent rule cannot be suppressed via ktlint-disable directives in the middle of a file. #631

@shashachu

Description

@shashachu

Since it operates on the root node, it can only be disabled via a // ktlint-disable directive at the very top of the file.

The final newline rule exhibits the same behavior but that's less confusing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions