Skip to content

Undocumented rule for adding spaces before inline comments? #525

Closed
@ghost

Description

In our codebase, the linter complains about hundreds of instances such as:

title: "Settings", // TODO: ....

and

CustomSection(title: "App Info") { // TODO: ...

It is always about having only 1 space before the inline comment forward slashes (//). The linter wants to have 2 spaces, as in

title: "Settings",  // TODO: ....

Why ? And what undocumented rule is enforcing that? And why is it undocumented?

Metadata

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