From ac3c046747a8aedad601f0b0f495b9b8a793c15c Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Mon, 13 Jan 2020 20:13:38 +0800 Subject: [PATCH] Run `lint-docs` on changelogs (#7253) --- changelog_unreleased/handlebars/pr-7051.md | 2 +- changelog_unreleased/javascript/pr-7070.md | 2 +- changelog_unreleased/javascript/pr-7140.md | 1 + changelog_unreleased/scss/pr-7211.md | 1 - changelog_unreleased/typescript/pr-7075.md | 6 +++--- changelog_unreleased/vue/pr-7180.md | 1 + package.json | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/changelog_unreleased/handlebars/pr-7051.md b/changelog_unreleased/handlebars/pr-7051.md index 505bf926e..4318eed57 100644 --- a/changelog_unreleased/handlebars/pr-7051.md +++ b/changelog_unreleased/handlebars/pr-7051.md @@ -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)) ```hbs diff --git a/changelog_unreleased/javascript/pr-7070.md b/changelog_unreleased/javascript/pr-7070.md index e105b65f2..b2339474c 100644 --- a/changelog_unreleased/javascript/pr-7070.md +++ b/changelog_unreleased/javascript/pr-7070.md @@ -21,4 +21,4 @@ function foo() { this.lookahead().type === tt.parenLeft.right ); } -``` +``` diff --git a/changelog_unreleased/javascript/pr-7140.md b/changelog_unreleased/javascript/pr-7140.md index 041b52b5a..d2fa480bc 100644 --- a/changelog_unreleased/javascript/pr-7140.md +++ b/changelog_unreleased/javascript/pr-7140.md @@ -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)) + ```js // Input return // comment diff --git a/changelog_unreleased/scss/pr-7211.md b/changelog_unreleased/scss/pr-7211.md index 3c00f3ceb..dc283cbf5 100644 --- a/changelog_unreleased/scss/pr-7211.md +++ b/changelog_unreleased/scss/pr-7211.md @@ -19,4 +19,3 @@ a { background-image: url($test-path + "static/test.jpg"); } ``` - diff --git a/changelog_unreleased/typescript/pr-7075.md b/changelog_unreleased/typescript/pr-7075.md index 60c3da14e..144b32b07 100644 --- a/changelog_unreleased/typescript/pr-7075.md +++ b/changelog_unreleased/typescript/pr-7075.md @@ -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. ```jsx diff --git a/changelog_unreleased/vue/pr-7180.md b/changelog_unreleased/vue/pr-7180.md index f93b06a88..36f957eea 100644 --- a/changelog_unreleased/vue/pr-7180.md +++ b/changelog_unreleased/vue/pr-7180.md @@ -1,5 +1,6 @@ #### format vue SFC containing JSX script([#7180](https://github.com/prettier/prettier/pull/7180) by [@sosukesuzuki](https://github.com/sosukesuzuki)) + ```html