You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the following input, running prettier will add 2 spaces. That by itself is fine (not the best choice but eh) but running prettier again will again add 2 more spaces. This keeps going on forever, every time you format the file changes, never reaching a stable state.
The text was updated successfully, but these errors were encountered:
Prettier 3.2.5
Playground link
Input:
Output:
Expected output:
Why?
When using the following input, running prettier will add 2 spaces. That by itself is fine (not the best choice but eh) but running prettier again will again add 2 more spaces. This keeps going on forever, every time you format the file changes, never reaching a stable state.
The text was updated successfully, but these errors were encountered: