Skip to content

Commit

Permalink
Regenerate draft
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Nov 18, 2021
1 parent 836f3f6 commit efa5a60
Showing 1 changed file with 31 additions and 2 deletions.
Expand Up @@ -289,6 +289,35 @@ TypeError: Cannot read properties of undefined (reading 'type')

```

### HTML

#### Reverts [#7865](https://github.com/prettier/prettier/pull/7865), keeping class names on the same line ([#11827](https://github.com/prettier/prettier/pull/11827) by [@jlongster](https://github.com/jlongster))

<!-- prettier-ignore -->
```html
<!-- Input -->
<div
class="SomeComponent__heading-row d-flex flex-column flex-lg-row justify-content-start justify-content-lg-between align-items-start align-items-lg-center"
></div>

<!-- Prettier 2.4 -->
<div
class="
SomeComponent__heading-row
d-flex
flex-column flex-lg-row
justify-content-start justify-content-lg-between
align-items-start align-items-lg-center
"
></div>

<!-- Prettier 2.5 -->
<div
class="SomeComponent__heading-row d-flex flex-column flex-lg-row justify-content-start justify-content-lg-between align-items-start align-items-lg-center"
></div>

```

### Ember / Handlebars

#### Uses the opposite quote type for quotes inside mustache statements in attributes ([#11524](https://github.com/prettier/prettier/pull/11524) by [@bmaehr](https://github.com/bmaehr))
Expand Down Expand Up @@ -321,12 +350,12 @@ const test = <T,>(value: T) => {};

<!-- Prettier 2.4 -->
```tsx
const test = <T,>(value: T) => {};
const test = <T>(value: T) => {};
```

<!-- Prettier 2.5 -->
```tsx
const test = <T>(value: T) => {};
const test = <T,>(value: T) => {};
```
````

Expand Down

0 comments on commit efa5a60

Please sign in to comment.