Skip to content

Commit 70cad04

Browse files
committed
Auto merge of #3074 - rust-lang:renovate/eslint-config-prettier-7.x, r=Turbo87
Update dependency eslint-config-prettier to v7 [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-config-prettier](https://togithub.com/prettier/eslint-config-prettier) | [`6.15.0` -> `7.0.0`](https://renovatebot.com/diffs/npm/eslint-config-prettier/6.15.0/7.0.0) | [![age](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/7.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/7.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/7.0.0/compatibility-slim/6.15.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/eslint-config-prettier/7.0.0/confidence-slim/6.15.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>prettier/eslint-config-prettier</summary> ### [`v7.0.0`](https://togithub.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md#Version-700-2020-12-05) [Compare Source](https://togithub.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0) - Changed: At least ESLint 7.0.0 is now required. - Changed: [arrow-body-style] and [prefer-arrow-callback] are no longer turned off by default. They only need to be turned off if you use [eslint-plugin-prettier]. If you do, add `"prettier/prettier"` to your `"extends"` array to turn them off again. ```json { "extends": ["prettier", "prettier/prettier"], "plugins": ["prettier"], "rules": { "prettier/prettier": "error" } } ``` Alternatively, update [eslint-plugin-prettier] to version 3.2.0 or later which automatically turns off these two rules in its `"plugin:prettier/recommended"` config. The CLI helper tool only warns about these rules if you have the `"prettier/prettier"` _rule_ enabled for a file. - Changed: `no-tabs` is now a validatable rule. If you use it, you should enable `allowIndentationTabs` so that the rule works regardless of your Prettier config: ```json { "rules": { "no-tabs": ["error", { "allowIndentationTabs": true }] } } ``` - Changed: The CLI helper tool is now called just `eslint-config-prettier` instead of `eslint-config-prettier-check`. This is so that `npx eslint-config-prettier` always works regardless of whether you have already installed `eslint-config-prettier` or not: If you have, the local installation is used; if you haven’t, `npx` downloads a temporary copy. - Changed: The CLI helper tool no longer requires you to pipe the output of `eslint --print-config` to it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7. Before: npx eslint --print-config index.js | npx eslint-config-prettier-check After: npx eslint-config-prettier index.js - Improved: The npm package is now 75% smaller. </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/rust-lang/crates.io).
2 parents c7ce386 + 17386a6 commit 70cad04

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"ember-web-app": "5.0.1",
107107
"ember-window-mock": "0.7.1",
108108
"eslint": "7.15.0",
109-
"eslint-config-prettier": "6.15.0",
109+
"eslint-config-prettier": "7.0.0",
110110
"eslint-plugin-ember": "10.0.2",
111111
"eslint-plugin-ember-concurrency": "0.2.1",
112112
"eslint-plugin-import-helpers": "1.1.0",

yarn.lock

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7326,12 +7326,10 @@ eslint-ast-utils@^1.1.0:
73267326
lodash.get "^4.4.2"
73277327
lodash.zip "^4.2.0"
73287328

7329-
7330-
version "6.15.0"
7331-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9"
7332-
integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==
7333-
dependencies:
7334-
get-stdin "^6.0.0"
7329+
7330+
version "7.0.0"
7331+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.0.0.tgz#c1ae4106f74e6c0357f44adb076771d032ac0e97"
7332+
integrity sha512-8Y8lGLVPPZdaNA7JXqnvETVC7IiVRgAP6afQu9gOQRn90YY3otMNh+x7Vr2vMePQntF+5erdSUBqSzCmU/AxaQ==
73357333

73367334
73377335
version "0.2.1"
@@ -8453,11 +8451,6 @@ get-stdin@^4.0.1:
84538451
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
84548452
integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=
84558453

8456-
get-stdin@^6.0.0:
8457-
version "6.0.0"
8458-
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
8459-
integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==
8460-
84618454
get-stdin@^8.0.0:
84628455
version "8.0.0"
84638456
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53"

0 commit comments

Comments
 (0)