Long lines of code need to be formatted twice #12413
Labels
area:idempotency
Issues with re-printing Prettier’s output
lang:typescript
Issues affecting TypeScript-specific constructs (not general JS issues)
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
type:bug
Issues identifying ugly output, or a defect in the program
Prettier 2.5.1
Playground link, second playground link
Input:
Output:
Output upon reformatting:
Issue:
Upon reformatting the code, Prettier gives a different response than the original.
Expected behavior:
Prettier should only require a single formatting to correctly format the code.
The text was updated successfully, but these errors were encountered: