16 lines
303 B
Markdown
16 lines
303 B
Markdown
#### Fix unstable comment before the first element of a sequence expression (#19894 by @Kjubikstronk)
|
|||
|
|
|
||
|
|
<!-- prettier-ignore -->
|
||
|
|
```jsx
|
||
|
|
// Input
|
||
|
|
((/* c */ a), b);
|
||
|
|
|
||
|
|
// Prettier stable (First format)
|
||
|
|
(/* c */ a, b);
|
||
|
|
|
||
|
|
// Prettier stable (Second format)
|
||
|
|
/* c */ (a, b);
|
||
|
|
|
||
|
|
// Prettier main
|
||
|
|
/* c */ (a, b);
|
||
|
|
```
|