Fix merged line comments (#13438)

This commit is contained in:
Georgii Dolzhykov authored and GitHub committed 2022-09-08 09:45:33 +03:00
1 parent d0953f34d8
commit d2a0c778ef
5 files changed
+169 -49

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#### Fix interleaved comments (#13438 by @thorn0)
<!-- prettier-ignore -->
```js
// Input
function x() {
} // first
; // second
// Prettier stable
function x() {} // first // second
// Prettier main
function x() {} // first
// second
```