-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Idempotency / Unstable method chain #2803
Copy link
Copy link
Open
Labels
area:idempotencyIssues with re-printing Prettier’s outputIssues with re-printing Prettier’s outputarea:member chainsarea:object literalshelp wantedWe're a small group who can't get to every issue promptly. We’d appreciate help fixing this issue!We're a small group who can't get to every issue promptly. We’d appreciate help fixing this issue!lang:javascriptIssues affecting JSIssues affecting JS
Metadata
Metadata
Assignees
Labels
area:idempotencyIssues with re-printing Prettier’s outputIssues with re-printing Prettier’s outputarea:member chainsarea:object literalshelp wantedWe're a small group who can't get to every issue promptly. We’d appreciate help fixing this issue!We're a small group who can't get to every issue promptly. We’d appreciate help fixing this issue!lang:javascriptIssues affecting JSIssues affecting JS
Prettier Version: 1.6.1 / master
Code
(playground1)
(playground2)
Expected behavior:
Running prettier twice should not change format
Actual behavior:
When first playground's output is pasted into input like the second playground link, its format is changed