📝 Removed escapes are taken into account to determine if the enclosing group must be expanded #1169
Closed
1 task done
Labels
A-Formatter
Area: formatter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
Environment information
Configuration
Description
Biome remove unnecessary escape. However, it doesn't take the reduced length into account to evaluate if it has to expand the enclosing group. This leads to [non-idempotent formatting]( corresponding divergence).
Playground link
Code of Conduct
The text was updated successfully, but these errors were encountered: