Run lint-docs on changelogs (#7253)

This commit is contained in:
fisker Cheung authored and Evilebot Tnawi committed 2020-01-13 15:13:38 +03:00
1 parent 7594d6ac4c
commit ac3c046747
7 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#### handlebars: Fix superfluous line breaks in ConcatStatement ([7051](https://github.com/prettier/prettier/pull/7051) by [@dcyriller](https://github.com/dcyriller))
#### handlebars: Fix superfluous line breaks in ConcatStatement ([7051](https://github.com/prettier/prettier/pull/7051) by [@dcyriller](https://github.com/dcyriller))
<!-- prettier-ignore -->
```hbs
+1 -1
View File
@@ -21,4 +21,4 @@ function foo() {
this.lookahead().type === tt.parenLeft.right
);
}
```
```
@@ -1,5 +1,6 @@
#### Fix moving semi for `return` to end of line-comment([#7140](https://github.com/prettier/prettier/pull/7140) by [@sosukesuzuki](https://github.com/sosukesuzuki))
<!-- prettier-ignore -->
```js
// Input
return // comment
-1
View File
@@ -19,4 +19,3 @@ a {
background-image: url($test-path + "static/test.jpg");
}
```
+3 -3
View File
@@ -1,8 +1,8 @@
#### Don't print trailing commas after rest elements in tuples ([#7075](https://github.com/prettier/prettier/pull/7075) by [@thorn](https://github.com/thorn0))
* A rest element is always the last element of a tuple type. Nothing can be added after it.
* While TS is okay with this comma, [Babel doesn't parse it](https://github.com/babel/babel/issues/10769)
* In function parameters and array destructuring, such a comma is a syntax error. Keeping it in tuples is inconsistent.
- A rest element is always the last element of a tuple type. Nothing can be added after it.
- While TS is okay with this comma, [Babel doesn't parse it](https://github.com/babel/babel/issues/10769)
- In function parameters and array destructuring, such a comma is a syntax error. Keeping it in tuples is inconsistent.
<!-- prettier-ignore -->
```jsx
+1
View File
@@ -1,5 +1,6 @@
#### format vue SFC containing JSX script([#7180](https://github.com/prettier/prettier/pull/7180) by [@sosukesuzuki](https://github.com/sosukesuzuki))
<!-- prettier-ignore -->
```html
<!-- Input -->
<script lang="jsx">