Skip to content

Unstable comments in for-in (and for-of) loop #886

@lydell

Description

@lydell
for (x
/*a*/
in //b
y) //c
;

turns into:

for (x in /*a*/ //b
y); //c

turns into:

for (x /*a*/ in y); //b //c

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:commentsIssues with how Prettier prints commentslocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions