Prettier pr-9857
Playground link
Input:
for(/*a*/;/*a*/;/*a*/);
for(/*a*/a;/*a*/;/*a*/);
for(/*a*/;a/*a*/;/*a*/);
for(/*a*/;/*a*/;a/*a*/);
Output:
/*a*/
/*a*/
/*a*/
for (;;);
for (/*a*/ a /*a*/ /*a*/; ; );
for (; /*a*/ a /*a*/ /*a*/; );
for (; ; /*a*/ /*a*/ a /*a*/);
Expected behavior:
Comments should stay at the original position.
Maybe we can use a solution like #9857
Prettier pr-9857
Playground link
Input:
Output:
Expected behavior:
Comments should stay at the original position.
Maybe we can use a solution like #9857