prettier/prettier
### [`v2.1.2`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#212)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.1.1...2.1.2)
[diff](https://togithub.com/prettier/prettier/compare/2.1.1...2.1.2)
##### Fix formatting for directives in fields ([#9116](https://togithub.com/prettier/prettier/pull/9116) by [@sosukesuzuki](https://togithub.com/sosukesuzuki))
```graphql
```
### [`v2.1.1`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#211)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.1.0...2.1.1)
[diff](https://togithub.com/prettier/prettier/compare/2.1.0...2.1.1)
##### Fix format on html with frontMatter ([#9043](https://togithub.com/prettier/prettier/pull/9043) by [@fisker](https://togithub.com/fisker))
```html
---
layout: foo
---
Test abc.
TypeError: Cannot read property 'end' of undefined
...
---
layout: foo
---
Test abc.
```
##### Fix broken format for `...infer T` ([#9044](https://togithub.com/prettier/prettier/pull/9044) by [@fisker](https://togithub.com/fisker))
```typescript
// Input
type Tail = T extends [infer U, ...infer R] ? R : never;
// Prettier stable
type Tail = T extends [infer U, ...(infer R)] ? R : never;
// Prettier master
type Tail = T extends [infer U, ...infer R] ? R : never;
```
##### Fix format on `style[lang="sass"]` ([#9051](https://togithub.com/prettier/prettier/pull/9051) by [@fisker](https://togithub.com/fisker))
```jsx
```
##### Fix self-closing blocks and blocks with `src` attribute format ([#9052](https://togithub.com/prettier/prettier/pull/9052), [#9055](https://togithub.com/prettier/prettier/pull/9055) by [@fisker](https://togithub.com/fisker))
```vue
```
### [`v2.1.0`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#210)
[Compare Source](https://togithub.com/prettier/prettier/compare/2.0.5...2.1.0)
[diff](https://togithub.com/prettier/prettier/compare/2.0.5...2.1.0)
🔗 [Release Notes](https://prettier.io/blog/2020/08/24/2.1.0.html)
Renovate configuration
:date: Schedule: "every weekend" (UTC).
:vertical_traffic_light: Automerge: Disabled due to failing status checks.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.0.5
->2.1.2
Release Notes
prettier/prettier
### [`v2.1.2`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#212) [Compare Source](https://togithub.com/prettier/prettier/compare/2.1.1...2.1.2) [diff](https://togithub.com/prettier/prettier/compare/2.1.1...2.1.2) ##### Fix formatting for directives in fields ([#9116](https://togithub.com/prettier/prettier/pull/9116) by [@sosukesuzuki](https://togithub.com/sosukesuzuki)) ```graphql ``` ### [`v2.1.1`](https://togithub.com/prettier/prettier/blob/master/CHANGELOG.md#211) [Compare Source](https://togithub.com/prettier/prettier/compare/2.1.0...2.1.1) [diff](https://togithub.com/prettier/prettier/compare/2.1.0...2.1.1) ##### Fix format on html with frontMatter ([#9043](https://togithub.com/prettier/prettier/pull/9043) by [@fisker](https://togithub.com/fisker)) ```html --- layout: foo --- Test abc. TypeError: Cannot read property 'end' of undefined ... --- layout: foo --- Test abc. ``` ##### Fix broken format for `...infer T` ([#9044](https://togithub.com/prettier/prettier/pull/9044) by [@fisker](https://togithub.com/fisker)) ```typescript // Input type TailRenovate configuration
:date: Schedule: "every weekend" (UTC).
:vertical_traffic_light: Automerge: Disabled due to failing status checks.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.