Skip to content

Expand (or duplicate) closure end indentation rule for other casesΒ #1435

Open
@keith

Description

Currently the closure_end_indentation rule is really awesome for cases like this:

foo
    .bar {
    } // this is enforced

I think it might be nice to spread this to other identifiers, such as this:

foo(
    bar
) // this should be enforced to be here

And also arrays:

let foo = [
    1, 2, 3,
] // this has to be here

etc.

Thoughts?

Metadata

Assignees

No one assigned

    Labels

    rule-requestRequests for a new rules.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions