Skip to content

chained operations indentation.  #317

Closed
@ddaza

Description

@ddaza

Is there anyway to set up an option/rule for the indent of chained operations like this??

elements
  .addClass( "foo" )
  .children()
  .html( "hello" )
  .end()
  .appendTo( "body" );

currently the default indent resolves to this:

elements
.addClass( "foo" )
.children()
.html( "hello" )
.end()
.appendTo( "body" );

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions