Mark formatting improvements in changelog
This commit is contained in:
1 parent
33cc92daad
commit
08fb7af227
7 files changed
+9
-7
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
#### Improve visual separation between header and body in classes with multiline headers (#10085 by @sosukesuzuki)
|
#### [IMPROVEMENT:2] Improve visual separation between header and body in classes with multiline headers (#10085 by @sosukesuzuki)
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
```ts
|
```ts
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#### Concise formatting of number-only arrays (#10106, #10160 by @thorn0)
|
#### [IMPROVEMENT:3] Concise formatting of number-only arrays (#10106, #10160 by @thorn0)
|
||||||
|
|
||||||
While in general, Prettier avoids this kind of formatting because it's not diff-friendly, in this special case we decided that the benefits outweigh the risks.
|
While in general, Prettier avoids this kind of formatting because it's not diff-friendly, in this special case we decided that the benefits outweigh the risks.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#### Consistent indentations for conditional operators (#10187, #10266 by @sosukesuzuki)
|
#### [IMPROVEMENT:6] Consistent indentation for conditional operators (#10187, #10266 by @sosukesuzuki)
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
```ts
|
```ts
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#### Improve formatting for React Hooks call (#10238 by @sosukesuzuki)
|
#### [IMPROVEMENT:1] Improve formatting for React Hooks calls (#10238 by @sosukesuzuki)
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
```js
|
```js
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#### Improve formatting for nested await expressions in heads of member and call expressions (#10342 by @thorn0)
|
#### [IMPROVEMENT:4] Improve formatting for nested await expressions in heads of member and call expressions (#10342 by @thorn0)
|
||||||
|
|
||||||
Even though Prettier tries to be helpful here, please don't write code like this. Have mercy upon your teammates and use intermediate variables.
|
Even though Prettier tries to be helpful here, please don't write code like this. Have mercy upon your teammates and use intermediate variables.
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
#### Improve formatting for `do` expressions (#10693 by @sosukesuzuki)
|
#### [IMPROVEMENT:5] Improve formatting for `do` expressions in function calls (#10693 by @sosukesuzuki)
|
||||||
|
|
||||||
|
“`do` expressions” are a [stage 1 ECMAScript proposal](https://github.com/tc39/proposal-do-expressions).
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
```js
|
```js
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#### Refine formatting of curried arrow functions (#9992, #10543 by @sosukesuzuki & @thorn0)
|
#### [IMPROVEMENT:0] Refine formatting of curried arrow functions (#9992, #10543 by @sosukesuzuki & @thorn0)
|
||||||
|
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore -->
|
||||||
```js
|
```js
|
||||||
|
|||||||
Reference in new issue
Block a user