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

Duplicated trailing empty lines for multiple expressions on one line #91

Closed
dangmai opened this issue Jul 9, 2019 · 0 comments
Closed

Comments

@dangmai
Copy link
Owner

dangmai commented Jul 9, 2019

# Prettier options (if any):

Input:

// code snippet
class TrailingLine {
  void someMethod() {
    Integer g = 1; Integer e = 2; Integer h = 4;

    Integer f = 1;
  }
}

Output:

// code snippet
class TrailingLine {
  void someMethod() {
    Integer g = 1;

    Integer e = 2;

    Integer h = 4;

    Integer f = 1;
  }
}

Expected behavior:

class TrailingLine {
  void someMethod() {
    Integer g = 1;
    Integer e = 2;
    Integer h = 4;

    Integer f = 1;
  }
}

Additional information (please fill this out):

  • OS: [e.g. Windows/OS X/Ubuntu] Arch Linux
  • Version: [e.g. 1.0.0-alpha.9] 1.0.0-rc.5
@dangmai dangmai closed this as completed in bc8a255 Jul 9, 2019
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

1 participant