Add PR and users link (#11072)

This commit is contained in:
Sosuke Suzuki authored and GitHub committed 2021-06-14 22:05:06 +09:00
1 parent acf9242dd1
commit 17d8cb57b7
1 file changed
+8 -8
+8 -8
View File
@@ -2,7 +2,7 @@
[diff](https://github.com/prettier/prettier/compare/2.3.0...2.3.1)
#### Support TypeScript 4.3 (#10945 by @sosukesuzuki)
#### Support TypeScript 4.3 ([#10945](https://github.com/prettier/prettier/pull/10945) by [@sosukesuzuki](https://github.com/sosukesuzuki))
##### [`override` modifiers in class elements](https://devblogs.microsoft.com/typescript/announcing-typescript-4-3/#override)
@@ -29,7 +29,7 @@ interface Foo {
}
```
#### Preserve attributes order for element node (#10958 by @dcyriller)
#### Preserve attributes order for element node ([#10958](https://github.com/prettier/prettier/pull/10958) by [@dcyriller](https://github.comdcyriller))
<!-- prettier-ignore -->
```handlebars
@@ -74,7 +74,7 @@ interface Foo {
/>
```
#### Track cursor position properly when it’s at the end of the range to format (#10938 by @j-f1)
#### Track cursor position properly when it’s at the end of the range to format ([#10938](https://github.com/prettier/prettier/pull/10938) by [@j-f1](https://github.com/j-f1))
Previously, if the cursor was at the end of the range to format, it would simply be placed back at the end of the updated range.
Now, it will be repositioned if Prettier decides to add additional code to the end of the range (such as a semicolon).
@@ -94,7 +94,7 @@ const someVariable = myOtherVariable<|>;
// range to format: ^^^^^^^^^^^^^^^
```
#### Break the LHS of type alias that has complex type parameters (#10901 by @sosukesusuzki)
#### Break the LHS of type alias that has complex type parameters ([#10901](https://github.com/prettier/prettier/pull/10901) by [@sosukesuzuki](https://github.com/sosukesuzuki))
<!-- prettier-ignore -->
```ts
@@ -128,7 +128,7 @@ type FieldLayoutWith<
```
#### Break the LHS of assignments that has complex type parameters (#10916 by @sosukesuzuki)
#### Break the LHS of assignments that has complex type parameters ([#10916](https://github.com/prettier/prettier/pull/10916) by [@sosukesuzuki](https://github.com/sosukesuzuki))
<!-- prettier-ignore -->
```ts
@@ -150,7 +150,7 @@ const map: Map<
```
#### Fix incorrectly wrapped arrow functions with return types (#10940 by @thorn0)
#### Fix incorrectly wrapped arrow functions with return types ([#10940](https://github.com/prettier/prettier/pull/10940) by [@thorn0](https://github.com/thorn0))
<!-- prettier-ignore -->
```ts
@@ -176,7 +176,7 @@ longfunctionWithCall12(
);
```
#### Avoid breaking call expressions after assignments with complex type arguments (#10949 by @sosukesuzuki)
#### Avoid breaking call expressions after assignments with complex type arguments ([#10949](https://github.com/prettier/prettier/pull/10949) by [@sosukesuzuki](https://github.com/sosukesuzuki))
<!-- prettier-ignore -->
```ts
@@ -204,7 +204,7 @@ const foo = call<{
```
#### Fix order of `override` modifiers (#10961 by @sosukesuzuki)
#### Fix order of `override` modifiers ([#10961](https://github.com/prettier/prettier/pull/10961) by [@sosukesuzuki](https://github.com/sosukesuzuki))
```ts
// Input