-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
area:commentsIssues with how Prettier prints commentsIssues with how Prettier prints commentslang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
Prettier 2.1.2
Playground link
--parser babel
Input:
a;
/*1*//*2*/
/*3*/
b;
a;
/*1*/
/*2*//*3*/
b;
Output:
a; /*2*/
/*1*/ /*3*/
b;
a; /*3*/
/*1*/
/*2*/ b;
Second Output:
a; /*2*/ /*3*/
/*1*/ b;
a; /*3*/
/*1*/
/*2*/ b;
Expected behavior:
Should be stable
Metadata
Metadata
Assignees
Labels
area:commentsIssues with how Prettier prints commentsIssues with how Prettier prints commentslang:javascriptIssues affecting JSIssues affecting JSlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.