Files
test-repo/changelog_unreleased/javascript/19880.md
T
45a4a75ea6 Fix range formatting expanding to a non-source-element node (#19880)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-08-18 18:32:50 +08:00

325 B

Fix range formatting expanding to a non-source-element node (#19880 by @Kjubikstronk)

// Input (range covers the two indented lines)
beforeEach(() => {
  // c
  a();
});

// Prettier stable
beforeEach(() => {
  // c
  a();
};);

// Prettier main
beforeEach(() => {
  // c
  a();
});