Skip to content

Indent multi line property access when dot is on newline #111

Open
@verschmelzen

Description

@verschmelzen

Currently it indents only if dot was left on same line as object instance

object.
  property()

And usually it is written like so

object
  .property()

But current indent rules do not support that behavior.
I wonder if it would be useful for others and I should create pull request since patch is trivial and I already use patched version.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions