Template strings aren't moved to new line, where '' or "" strings are #4719
Labels
area:template literals
lang:javascript
Issues affecting JS
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 1.13.5
Playground link
Input:
Output:
Expected behavior: The template string is moved to the next line after the
const a =
.I'd assume that this happens because it assumes about indentation, as that is part of the
string in multiline template strings.
The text was updated successfully, but these errors were encountered: