Files
test-repo/changelog_unreleased/javascript/15522.md
T
2023-12-13 16:12:03 +08:00

281 B

Fix non-idempotent formatting of method chain with empty line (#15522 by @seiyab)

// Input
Foo.a()

.b();

// Prettier stable (first format)
Foo.a()
.b();

// Prettier stable (second format)
Foo.a().b();


// Prettier main
Foo.a()

  .b();