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

formatter bug #5988

Open
kostya opened this issue Apr 22, 2018 · 1 comment
Open

formatter bug #5988

kostya opened this issue Apr 22, 2018 · 1 comment

Comments

@kostya
Copy link
Contributor

kostya commented Apr 22, 2018

h = {
  xxx: Int32,
  y:   {a: 1,
      b: 2},
}

b line is wrong indentation

@Sija
Copy link
Contributor

Sija commented Feb 18, 2019

IMO it should be formatted like:

h = {
  xxx: Int32,
  y:   {a: 1, b: 2},
}

or:

h = {
  xxx: Int32,
  y: {
    a: 1,
    b: 2,
  },
}

But that changes the format quite a bit...

@kostya How's your ideal final formatting of this?

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

No branches or pull requests

3 participants