Fix merged line comments (#13438)
This commit is contained in:
1 parent
d0953f34d8
commit
d2a0c778ef
5 files changed
+169
-49
No files matched your search
@@ -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
|
||||
```
|
||||
Reference in new issue
Block a user