Files
test-repo/changelog_unreleased/javascript/15547.md
T

483 B

Improve formatting for assignment its left can break (#15547 by @sosukesuzuki)

// Input
params["redirectTo"] =
  `${window.location.pathname}${window.location.search}${window.location.hash}`;

// Prettier stable
params[
  "redirectTo"
] = `${window.location.pathname}${window.location.search}${window.location.hash}`;

// Prettier main
params["redirectTo"] =
  `${window.location.pathname}${window.location.search}${window.location.hash}`;