Skip to content

Commit 0a86c23

Browse files
bors[bot]dependabot-preview[bot]bidoubiwa
authored
Merge #808
808: build(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.0.0 r=bidoubiwa a=dependabot-preview[bot] Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.2.0 to 8.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md">eslint-config-prettier's changelog</a>.</em></p> <blockquote> <h3>Version 8.0.0 (2021-02-21)</h3> <ul> <li> <p>Changed: All configs have been merged into one!</p> <p>To upgrade, change:</p> <pre lang="json"><code>{ &quot;extends&quot;: [ &quot;some-other-config-you-use&quot;, &quot;prettier&quot;, &quot;prettier/@typescript-eslint&quot;, &quot;prettier/babel&quot;, &quot;prettier/flowtype&quot;, &quot;prettier/react&quot;, &quot;prettier/standard&quot;, &quot;prettier/unicorn&quot;, &quot;prettier/vue&quot; ] } </code></pre> <p>Into:</p> <!-- raw HTML omitted --> <pre lang="json"><code>{ &quot;extends&quot;: [ &quot;some-other-config-you-use&quot;, &quot;prettier&quot; ] } </code></pre> <p>The <code>&quot;prettier&quot;</code> config now includes not just ESLint core rules, but also rules from all plugins. Much simpler!</p> <p>So … what’s the catch? Why haven’t we done this earlier? Turns out it’s just a sad mistake. I (<a href="https://github.com/lydell"><code>@lydell</code></a>) was confused when testing, and thought that turning off unknown rules in a config was an error. Thanks to Georgii Dolzhykov (<a href="https://github.com/thorn0"><code>@thorn0</code></a>) for pointing this out!</p> <p>If you use [eslint-plugin-prettier], all you need is [plugin:prettier/recommended]:</p> <!-- raw HTML omitted --> <pre lang="json"><code>{ &quot;extends&quot;: [ &quot;some-other-config-you-use&quot;, &quot;plugin:prettier/recommended&quot; ] } </code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/eslint-config-prettier/commit/0dd2a7ed26f5ce2cd35ff242228afaaf2fe2de2b"><code>0dd2a7e</code></a> eslint-config-prettier v8.0.0</li> <li><a href="https://github.com/prettier/eslint-config-prettier/commit/03c79b9306892d4dbc828ce723813ef015baabc5"><code>03c79b9</code></a> One config to rule them all (<a href="https://github-redirect.dependabot.com/prettier/eslint-config-prettier/issues/175">#175</a>)</li> <li><a href="https://github.com/prettier/eslint-config-prettier/commit/72ce4d7ede197326de72f95100f8817bb5a7bed8"><code>72ce4d7</code></a> Update npm packages</li> <li>See full diff in <a href="https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=eslint-config-prettier&package-manager=npm_and_yarn&previous-version=7.2.0&new-version=8.0.0)](https://dependabot.com/compatibility-score/?dependency-name=eslint-config-prettier&package-manager=npm_and_yarn&previous-version=7.2.0&new-version=8.0.0) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Charlotte Vermandel <[email protected]>
2 parents fff349d + 0b43ca4 commit 0a86c23

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ module.exports = {
1111
'plugin:@typescript-eslint/recommended',
1212
'plugin:@typescript-eslint/recommended-requiring-type-checking',
1313
'plugin:prettier/recommended',
14-
'prettier/@typescript-eslint',
1514
],
1615
parser: '@typescript-eslint/parser',
1716
parserOptions: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"abort-controller": "^3.0.0",
7575
"brotli-size": "^4.0.0",
7676
"eslint": "^7.20.0",
77-
"eslint-config-prettier": "^7.2.0",
77+
"eslint-config-prettier": "^8.0.0",
7878
"eslint-config-standard-with-typescript": "^17.0.0",
7979
"eslint-plugin-import": "2",
8080
"eslint-plugin-jest": "^24.1.5",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2515,10 +2515,10 @@ escodegen@^1.11.1, escodegen@^1.14.1:
25152515
optionalDependencies:
25162516
source-map "~0.6.1"
25172517

2518-
eslint-config-prettier@^7.2.0:
2519-
version "7.2.0"
2520-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.2.0.tgz#f4a4bd2832e810e8cc7c1411ec85b3e85c0c53f9"
2521-
integrity sha512-rV4Qu0C3nfJKPOAhFujFxB7RMP+URFyQqqOZW9DMRD7ZDTFyjaIlETU3xzHELt++4ugC0+Jm084HQYkkJe+Ivg==
2518+
eslint-config-prettier@^8.0.0:
2519+
version "8.0.0"
2520+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.0.0.tgz#024d661444319686c588c8849c8da33815dbdb1c"
2521+
integrity sha512-5EaAVPsIHu+grmm5WKjxUia4yHgRrbkd8I0ffqUSwixCPMVBrbS97UnzlEY/Q7OWo584vgixefM0kJnUfo/VjA==
25222522

25232523
eslint-config-standard-with-typescript@^17.0.0:
25242524
version "17.0.0"

0 commit comments

Comments
 (0)