Skip to content

chained operations indentation. #317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ddaza opened this issue Oct 19, 2015 · 1 comment
Closed

chained operations indentation. #317

ddaza opened this issue Oct 19, 2015 · 1 comment

Comments

@ddaza
Copy link

ddaza commented Oct 19, 2015

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" );
@lvarayut
Copy link

Duplicated #139.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants