Skip to content

Commit dba282c

Browse files
committed
Fix linting
1 parent f31fa4b commit dba282c

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": ["airbnb-base", "plugin:flowtype/recommended"],
2+
"extends": ["airbnb-base", "plugin:flowtype/recommended", "prettier"],
33
"rules": {
44
"flowtype/define-flow-type": 2,
55
"arrow-parens": 0,

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "body-scroll-lock",
3-
"version": "2.6.1",
3+
"version": "2.6.2",
44
"description": "Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)",
55
"main": "lib/bodyScrollLock.min.js",
66
"author": "Will Po",
@@ -43,6 +43,7 @@
4343
"eslint": "^4.15.0",
4444
"eslint-config-airbnb-base": "^12.1.0",
4545
"eslint-config-babel": "^7.0.2",
46+
"eslint-config-prettier": "^6.0.0",
4647
"eslint-plugin-flowtype": "^2.41.0",
4748
"eslint-plugin-import": "^2.8.0",
4849
"flow-bin": "^0.86.0",

yarn.lock

+12
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,13 @@ eslint-config-babel@^7.0.2:
14451445
version "7.0.2"
14461446
resolved "https://registry.yarnpkg.com/eslint-config-babel/-/eslint-config-babel-7.0.2.tgz#cbde74f61cee087d8cd6e607fcfa087869a02d99"
14471447

1448+
eslint-config-prettier@^6.0.0:
1449+
version "6.0.0"
1450+
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.0.0.tgz#f429a53bde9fc7660e6353910fd996d6284d3c25"
1451+
integrity sha512-vDrcCFE3+2ixNT5H83g28bO/uYAwibJxerXPj+E7op4qzBCsAV36QfvdAyVOoNxKAH2Os/e01T/2x++V0LPukA==
1452+
dependencies:
1453+
get-stdin "^6.0.0"
1454+
14481455
eslint-import-resolver-node@^0.3.1:
14491456
version "0.3.2"
14501457
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a"
@@ -1844,6 +1851,11 @@ get-own-enumerable-property-symbols@^2.0.1:
18441851
version "2.0.1"
18451852
resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz#5c4ad87f2834c4b9b4e84549dc1e0650fb38c24b"
18461853

1854+
get-stdin@^6.0.0:
1855+
version "6.0.0"
1856+
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b"
1857+
integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==
1858+
18471859
get-stream@^3.0.0:
18481860
version "3.0.0"
18491861
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"

0 commit comments

Comments
 (0)