Skip to content
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

Indentation for multiple case clauses over multiple lines #228

Open
japgolly opened this issue Jul 14, 2016 · 1 comment
Open

Indentation for multiple case clauses over multiple lines #228

japgolly opened this issue Jul 14, 2016 · 1 comment

Comments

@japgolly
Copy link

Currently formats as:

case One
  | Two
  | Three => ()

It should align the cases like

case One
   | Two
   | Three => ()
@jkinkead
Copy link
Collaborator

jkinkead commented Sep 8, 2016

Do you have a citation for this from a style guide? Two-space indent is pretty standard, as in:

if (foo &&
  bar) {
  // do stuff.
}

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

2 participants