Skip to content

Idempotency / Unstable method chain #2803

@frontsideair

Description

@frontsideair

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:idempotencyIssues 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!lang:javascriptIssues affecting JS

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions