Clean changelog_unreleased
This commit is contained in:
1 parent
7848357af6
commit
ddfa283b0d
3 files changed
-53
No files matched your search
@@ -1,13 +0,0 @@
|
|||||||
#### Avoid quote around interpolations (#18383 by @kovsu)
|
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
|
||||||
```html
|
|
||||||
<!-- Input -->
|
|
||||||
<div foo={bar}> </div>
|
|
||||||
|
|
||||||
<!-- Prettier stable (--embedded-language-formatting off) -->
|
|
||||||
<div foo="{bar}"></div>
|
|
||||||
|
|
||||||
<!-- Prettier main (--embedded-language-formatting off) -->
|
|
||||||
<div foo={bar}></div>
|
|
||||||
```
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
#### Fix comment inside union type get duplicated (#18393 by @fisker)
|
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
|
||||||
```tsx
|
|
||||||
// Input
|
|
||||||
type Foo = (/** comment */ a | b) | c;
|
|
||||||
|
|
||||||
// Prettier stable
|
|
||||||
type Foo = /** comment */ (/** comment */ a | b) | c;
|
|
||||||
|
|
||||||
// Prettier main
|
|
||||||
type Foo = /** comment */ (a | b) | c;
|
|
||||||
```
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
#### Fix unstable comment print in union type comments (#18395 by @fisker)
|
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
|
||||||
```tsx
|
|
||||||
// Input
|
|
||||||
type X = (A | B) & (
|
|
||||||
// comment
|
|
||||||
A | B
|
|
||||||
);
|
|
||||||
|
|
||||||
// Prettier stable (first format)
|
|
||||||
type X = (A | B) &
|
|
||||||
(// comment
|
|
||||||
A | B);
|
|
||||||
|
|
||||||
// Prettier stable (second format)
|
|
||||||
type X = (
|
|
||||||
| A
|
|
||||||
| B // comment
|
|
||||||
) &
|
|
||||||
(A | B);
|
|
||||||
|
|
||||||
// Prettier main
|
|
||||||
type X = (A | B) &
|
|
||||||
// comment
|
|
||||||
(A | B);
|
|
||||||
```
|
|
||||||
Reference in new issue
Block a user