Clean changelog
This commit is contained in:
1 parent
71ba29f22b
commit
ddf3b43c33
4 files changed
-62
No files matched your search
@@ -1,13 +0,0 @@
|
||||
#### Add parentheses for `TypeofTypeAnnotation` to improve readability (#14458 by @fisker)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```tsx
|
||||
// Input
|
||||
type A = (typeof node.children)[];
|
||||
|
||||
// Prettier stable
|
||||
type A = typeof node.children[];
|
||||
|
||||
// Prettier main
|
||||
type A = (typeof node.children)[];
|
||||
```
|
||||
@@ -1,22 +0,0 @@
|
||||
#### Add missing parentheses for decorator (#14393 by @fisker)
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```jsx
|
||||
// Input
|
||||
class Person {
|
||||
@(myDecoratorArray[0])
|
||||
greet() {}
|
||||
}
|
||||
|
||||
// Prettier stable
|
||||
class Person {
|
||||
@myDecoratorArray[0]
|
||||
greet() {}
|
||||
}
|
||||
|
||||
// Prettier main
|
||||
class Person {
|
||||
@(myDecoratorArray[0])
|
||||
greet() {}
|
||||
}
|
||||
```
|
||||
@@ -1,21 +0,0 @@
|
||||
#### Support `max_line_length=off` when parsing `.editorconfig` (#14516 by @josephfrazier)
|
||||
|
||||
If an .editorconfig file is in your project and it sets `max_line_length=off` for the file you're formatting,
|
||||
it will be interpreted as a `printWidth` of `Infinity` rather than being ignored
|
||||
(which previously resulted in the default `printWidth` of 80 being applied, if not overridden by Prettier-specific configuration).
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```html
|
||||
<!-- Input -->
|
||||
<div className='HelloWorld' title={`You are visitor number ${ num }`} onMouseOver={onMouseOver}/>
|
||||
|
||||
<!-- Prettier stable -->
|
||||
<div
|
||||
className="HelloWorld"
|
||||
title={`You are visitor number ${num}`}
|
||||
onMouseOver={onMouseOver}
|
||||
/>;
|
||||
|
||||
<!-- Prettier main -->
|
||||
<div className="HelloWorld" title={`You are visitor number ${num}`} onMouseOver={onMouseOver} />;
|
||||
```
|
||||
@@ -1,6 +0,0 @@
|
||||
#### Support TypeScript 5.0 (#14391 by @fisker, #13819 by @fisker, @sosukesuzuki)
|
||||
|
||||
TypeScript 5.0 introduces two new syntactic features:
|
||||
|
||||
- `const` modifiers for type parameters
|
||||
- `export type *` declarations
|
||||
Reference in new issue
Block a user