Skip to content

Commit a5ee45d

Browse files
committed
chore(deps): update dependency eslint-config-prettier to v7
1 parent 454580e commit a5ee45d

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

packages/didiff-lib/src/capture/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ async function capturePages({ original, sample }) {
4747
})
4848
await page.goto(infos.url)
4949

50-
const pageHeight = await page.evaluate(() => {
51-
return document.getElementsByTagName('html')[0].scrollHeight
52-
})
50+
const pageHeight = await page.evaluate(
51+
() => document.getElementsByTagName('html')[0].scrollHeight,
52+
)
5353
const partHeight = Math.round(pageHeight / NB_SCREEN_PER_PAGE)
5454

5555
const filesPath = Array.from({ length: NB_SCREEN_PER_PAGE }).map(

packages/eslint-config-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@babel/eslint-parser": "^7.12.1",
1414
"eslint-config-airbnb": "^18.2.1",
15-
"eslint-config-prettier": "^6.15.0",
15+
"eslint-config-prettier": "^7.0.0",
1616
"eslint-plugin-import": "^2.22.1",
1717
"eslint-plugin-jsx-a11y": "^6.4.1",
1818
"eslint-plugin-react": "^7.21.5",

yarn.lock

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4049,12 +4049,10 @@ eslint-config-airbnb@^18.2.1:
40494049
object.assign "^4.1.2"
40504050
object.entries "^1.1.2"
40514051

4052-
eslint-config-prettier@^6.15.0:
4053-
version "6.15.0"
4054-
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9"
4055-
integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==
4056-
dependencies:
4057-
get-stdin "^6.0.0"
4052+
eslint-config-prettier@^7.0.0:
4053+
version "7.0.0"
4054+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-7.0.0.tgz#c1ae4106f74e6c0357f44adb076771d032ac0e97"
4055+
integrity sha512-8Y8lGLVPPZdaNA7JXqnvETVC7IiVRgAP6afQu9gOQRn90YY3otMNh+x7Vr2vMePQntF+5erdSUBqSzCmU/AxaQ==
40584056

40594057
eslint-formatter-gitlab@^2.0.0:
40604058
version "2.0.0"
@@ -4738,11 +4736,6 @@ get-stdin@^4.0.1:
47384736
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
47394737
integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=
47404738

4741-
get-stdin@^6.0.0:
4742-
version "6.0.0"
4743-
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
4744-
integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==
4745-
47464739
get-stream@^4.0.0, get-stream@^4.1.0:
47474740
version "4.1.0"
47484741
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"

0 commit comments

Comments
 (0)