Skip to content

Commit 45e09c5

Browse files
committed
chore(deps): update dependency @react-native-community/eslint-config to v2
1 parent 03c271e commit 45e09c5

File tree

2 files changed

+76
-72
lines changed

2 files changed

+76
-72
lines changed

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"devDependencies": {
1818
"@babel/core": "7.8.4",
1919
"@babel/runtime": "7.8.4",
20-
"@react-native-community/eslint-config": "1.1.0",
20+
"@react-native-community/eslint-config": "2.0.0",
2121
"babel-jest": "25.1.0",
2222
"eslint": "6.5.1",
2323
"jest": "25.1.0",

example/yarn.lock

Lines changed: 75 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -686,14 +686,6 @@
686686
pirates "^4.0.0"
687687
source-map-support "^0.5.16"
688688

689-
"@babel/runtime-corejs3@^7.8.3":
690-
version "7.10.5"
691-
resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.10.5.tgz#a57fe6c13045ca33768a2aa527ead795146febe1"
692-
integrity sha512-RMafpmrNB5E/bwdSphLr8a8++9TosnyJp98RZzI6VOx2R2CCMpsXXXRvmI700O9oEKpXdZat6oEK68/F0zjd4A==
693-
dependencies:
694-
core-js-pure "^3.0.0"
695-
regenerator-runtime "^0.13.4"
696-
697689
"@babel/runtime@7.8.4":
698690
version "7.8.4"
699691
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.8.4.tgz#d79f5a2040f7caa24d53e563aad49cbc05581308"
@@ -1122,23 +1114,23 @@
11221114
sudo-prompt "^9.0.0"
11231115
wcwidth "^1.0.1"
11241116

1125-
"@react-native-community/eslint-config@1.1.0":
1126-
version "1.1.0"
1127-
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-config/-/eslint-config-1.1.0.tgz#2dacad06dd44d13e778510864473fc6091f080c0"
1128-
integrity sha512-hwb1hC28BhkwLwnO6vDISV6XZbipw2RIEhBVBN+pE7AUG9HjFXxoksiiOSoYgox9C8g86VJwHnKpak/3NnVBkQ==
1117+
"@react-native-community/eslint-config@2.0.0":
1118+
version "2.0.0"
1119+
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-config/-/eslint-config-2.0.0.tgz#35dcc529a274803fc4e0a6b3d6c274551fb91774"
1120+
integrity sha512-vHaMMfvMp9BWCQQ0lNIXibOJTcXIbYUQ8dSUsMOsrXgVkeVQJj88OwrKS00rQyqwMaC4/a6HuDiFzYUkGKOpVg==
11291121
dependencies:
11301122
"@react-native-community/eslint-plugin" "^1.1.0"
1131-
"@typescript-eslint/eslint-plugin" "^2.25.0"
1132-
"@typescript-eslint/parser" "^2.25.0"
1133-
babel-eslint "10.1.0"
1123+
"@typescript-eslint/eslint-plugin" "^3.1.0"
1124+
"@typescript-eslint/parser" "^3.1.0"
1125+
babel-eslint "^10.1.0"
11341126
eslint-config-prettier "^6.10.1"
11351127
eslint-plugin-eslint-comments "^3.1.2"
11361128
eslint-plugin-flowtype "2.50.3"
11371129
eslint-plugin-jest "22.4.1"
11381130
eslint-plugin-prettier "3.1.2"
1139-
eslint-plugin-react "7.19.0"
1140-
eslint-plugin-react-hooks "^3.0.0"
1141-
eslint-plugin-react-native "3.8.1"
1131+
eslint-plugin-react "^7.20.0"
1132+
eslint-plugin-react-hooks "^4.0.4"
1133+
eslint-plugin-react-native "^3.8.1"
11421134
prettier "^2.0.2"
11431135

11441136
"@react-native-community/eslint-plugin@^1.1.0":
@@ -1267,52 +1259,68 @@
12671259
dependencies:
12681260
"@types/yargs-parser" "*"
12691261

1270-
"@typescript-eslint/eslint-plugin@^2.25.0":
1271-
version "2.34.0"
1272-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.34.0.tgz#6f8ce8a46c7dea4a6f1d171d2bb8fbae6dac2be9"
1273-
integrity sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ==
1262+
"@typescript-eslint/eslint-plugin@^3.1.0":
1263+
version "3.7.1"
1264+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.7.1.tgz#d144c49a9a0ffe8dd704bb179c243df76c111bc9"
1265+
integrity sha512-3DB9JDYkMrc8Au00rGFiJLK2Ja9CoMP6Ut0sHsXp3ZtSugjNxvSSHTnKLfo4o+QmjYBJqEznDqsG1zj4F2xnsg==
12741266
dependencies:
1275-
"@typescript-eslint/experimental-utils" "2.34.0"
1267+
"@typescript-eslint/experimental-utils" "3.7.1"
1268+
debug "^4.1.1"
12761269
functional-red-black-tree "^1.0.1"
12771270
regexpp "^3.0.0"
1271+
semver "^7.3.2"
12781272
tsutils "^3.17.1"
12791273

1280-
"@typescript-eslint/experimental-utils@2.34.0":
1281-
version "2.34.0"
1282-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz#d3524b644cdb40eebceca67f8cf3e4cc9c8f980f"
1283-
integrity sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA==
1274+
"@typescript-eslint/experimental-utils@3.7.1":
1275+
version "3.7.1"
1276+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.7.1.tgz#ab036caaed4c870d22531d41f9352f3147364d61"
1277+
integrity sha512-TqE97pv7HrqWcGJbLbZt1v59tcqsSVpWTOf1AqrWK7n8nok2sGgVtYRuGXeNeLw3wXlLEbY1MKP3saB2HsO/Ng==
12841278
dependencies:
12851279
"@types/json-schema" "^7.0.3"
1286-
"@typescript-eslint/typescript-estree" "2.34.0"
1280+
"@typescript-eslint/types" "3.7.1"
1281+
"@typescript-eslint/typescript-estree" "3.7.1"
12871282
eslint-scope "^5.0.0"
12881283
eslint-utils "^2.0.0"
12891284

1290-
"@typescript-eslint/parser@^2.25.0":
1291-
version "2.34.0"
1292-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.34.0.tgz#50252630ca319685420e9a39ca05fe185a256bc8"
1293-
integrity sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA==
1285+
"@typescript-eslint/parser@^3.1.0":
1286+
version "3.7.1"
1287+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.7.1.tgz#5d9ccecb116d12d9c6073e9861c57c9b1aa88128"
1288+
integrity sha512-W4QV/gXvfIsccN8225784LNOorcm7ch68Fi3V4Wg7gmkWSQRKevO4RrRqWo6N/Z/myK1QAiGgeaXN57m+R/8iQ==
12941289
dependencies:
12951290
"@types/eslint-visitor-keys" "^1.0.0"
1296-
"@typescript-eslint/experimental-utils" "2.34.0"
1297-
"@typescript-eslint/typescript-estree" "2.34.0"
1291+
"@typescript-eslint/experimental-utils" "3.7.1"
1292+
"@typescript-eslint/types" "3.7.1"
1293+
"@typescript-eslint/typescript-estree" "3.7.1"
12981294
eslint-visitor-keys "^1.1.0"
12991295

1300-
"@typescript-eslint/typescript-estree@2.34.0":
1301-
version "2.34.0"
1302-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5"
1303-
integrity sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg==
1296+
"@typescript-eslint/types@3.7.1":
1297+
version "3.7.1"
1298+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.7.1.tgz#90375606b2fd73c1224fe9e397ee151e28fa1e0c"
1299+
integrity sha512-PZe8twm5Z4b61jt7GAQDor6KiMhgPgf4XmUb9zdrwTbgtC/Sj29gXP1dws9yEn4+aJeyXrjsD9XN7AWFhmnUfg==
1300+
1301+
"@typescript-eslint/typescript-estree@3.7.1":
1302+
version "3.7.1"
1303+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.7.1.tgz#ce1ffbd0fa53f34d4ce851a7a364e392432f6eb3"
1304+
integrity sha512-m97vNZkI08dunYOr2lVZOHoyfpqRs0KDpd6qkGaIcLGhQ2WPtgHOd/eVbsJZ0VYCQvupKrObAGTOvk3tfpybYA==
13041305
dependencies:
1306+
"@typescript-eslint/types" "3.7.1"
1307+
"@typescript-eslint/visitor-keys" "3.7.1"
13051308
debug "^4.1.1"
1306-
eslint-visitor-keys "^1.1.0"
13071309
glob "^7.1.6"
13081310
is-glob "^4.0.1"
13091311
lodash "^4.17.15"
13101312
semver "^7.3.2"
13111313
tsutils "^3.17.1"
13121314

1315+
"@typescript-eslint/visitor-keys@3.7.1":
1316+
version "3.7.1"
1317+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-3.7.1.tgz#b90191e74efdee656be8c5a30f428ed16dda46d1"
1318+
integrity sha512-xn22sQbEya+Utj2IqJHGLA3i1jDzR43RzWupxojbSWnj3nnPLavaQmWe5utw03CwYao3r00qzXfgJMGNkrzrAA==
1319+
dependencies:
1320+
eslint-visitor-keys "^1.1.0"
1321+
13131322
"@uiw/react-native-amap-geolocation@link:..":
1314-
version "0.0.0"
1315-
uid ""
1323+
version "1.2.2"
13161324

13171325
abab@^2.0.0:
13181326
version "2.0.3"
@@ -1556,6 +1564,15 @@ array-unique@^0.3.2:
15561564
resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
15571565
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=
15581566

1567+
array.prototype.flatmap@^1.2.3:
1568+
version "1.2.3"
1569+
resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.3.tgz#1c13f84a178566042dd63de4414440db9222e443"
1570+
integrity sha512-OOEk+lkePcg+ODXIpvuU9PAryCikCJyo7GlDG1upleEpQRx6mzL9puEBkozQ5iAx20KV0l3DbyQwqciJtqe5Pg==
1571+
dependencies:
1572+
define-properties "^1.1.3"
1573+
es-abstract "^1.17.0-next.1"
1574+
function-bind "^1.1.1"
1575+
15591576
asap@~2.0.3, asap@~2.0.6:
15601577
version "2.0.6"
15611578
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
@@ -1610,7 +1627,7 @@ aws4@^1.8.0:
16101627
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.0.tgz#a17b3a8ea811060e74d47d306122400ad4497ae2"
16111628
integrity sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA==
16121629

1613-
babel-eslint@10.1.0:
1630+
babel-eslint@^10.1.0:
16141631
version "10.1.0"
16151632
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
16161633
integrity sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==
@@ -2139,11 +2156,6 @@ copy-descriptor@^0.1.0:
21392156
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
21402157
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
21412158

2142-
core-js-pure@^3.0.0:
2143-
version "3.6.5"
2144-
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.6.5.tgz#c79e75f5e38dbc85a662d91eea52b8256d53b813"
2145-
integrity sha512-lacdXOimsiD0QyNf9BC/mxivNJ/ybBGJXQFKzRekp1WTHoVUWsUHEn+2T8GJAzzIhyOuXA+gOxCVN3l+5PLPUA==
2146-
21472159
core-js@^2.2.2, core-js@^2.4.1:
21482160
version "2.6.11"
21492161
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
@@ -2501,40 +2513,39 @@ eslint-plugin-prettier@3.1.2:
25012513
dependencies:
25022514
prettier-linter-helpers "^1.0.0"
25032515

2504-
eslint-plugin-react-hooks@^3.0.0:
2505-
version "3.0.0"
2506-
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-3.0.0.tgz#9e80c71846eb68dd29c3b21d832728aa66e5bd35"
2507-
integrity sha512-EjxTHxjLKIBWFgDJdhKKzLh5q+vjTFrqNZX36uIxWS4OfyXe5DawqPj3U5qeJ1ngLwatjzQnmR0Lz0J0YH3kxw==
2516+
eslint-plugin-react-hooks@^4.0.4:
2517+
version "4.0.8"
2518+
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.0.8.tgz#a9b1e3d57475ccd18276882eff3d6cba00da7a56"
2519+
integrity sha512-6SSb5AiMCPd8FDJrzah+Z4F44P2CdOaK026cXFV+o/xSRzfOiV1FNFeLl2z6xm3yqWOQEZ5OfVgiec90qV2xrQ==
25082520

25092521
eslint-plugin-react-native-globals@^0.1.1:
25102522
version "0.1.2"
25112523
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native-globals/-/eslint-plugin-react-native-globals-0.1.2.tgz#ee1348bc2ceb912303ce6bdbd22e2f045ea86ea2"
25122524
integrity sha512-9aEPf1JEpiTjcFAmmyw8eiIXmcNZOqaZyHO77wgm0/dWfT/oxC1SrIq8ET38pMxHYrcB6Uew+TzUVsBeczF88g==
25132525

2514-
eslint-plugin-react-native@3.8.1:
2526+
eslint-plugin-react-native@^3.8.1:
25152527
version "3.8.1"
25162528
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native/-/eslint-plugin-react-native-3.8.1.tgz#92811e37191ecb0d29c0f0a0c9e5c943ee573821"
25172529
integrity sha512-6Z4s4nvgFRdda/1s1+uu4a6EMZwEjjJ9Bk/1yBImv0fd9U2CsGu2cUakAtV83cZKhizbWhSouXoaK4JtlScdFg==
25182530
dependencies:
25192531
eslint-plugin-react-native-globals "^0.1.1"
25202532

2521-
eslint-plugin-react@7.19.0:
2522-
version "7.19.0"
2523-
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz#6d08f9673628aa69c5559d33489e855d83551666"
2524-
integrity sha512-SPT8j72CGuAP+JFbT0sJHOB80TX/pu44gQ4vXH/cq+hQTiY2PuZ6IHkqXJV6x1b28GDdo1lbInjKUrrdUf0LOQ==
2533+
eslint-plugin-react@^7.20.0:
2534+
version "7.20.4"
2535+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.20.4.tgz#c14d2631221ec694ddd84557d7152f44b66e4aa0"
2536+
integrity sha512-y4DOQ0LrzuDQFEAnYFGjJMRHQQqfTco02qiWI00eGQYikHTzC15S5aRHGWSffnThv8sBpsmFBLky3K5keniAJg==
25252537
dependencies:
25262538
array-includes "^3.1.1"
2539+
array.prototype.flatmap "^1.2.3"
25272540
doctrine "^2.1.0"
25282541
has "^1.0.3"
2529-
jsx-ast-utils "^2.2.3"
2530-
object.entries "^1.1.1"
2542+
jsx-ast-utils "^2.4.1"
2543+
object.entries "^1.1.2"
25312544
object.fromentries "^2.0.2"
25322545
object.values "^1.1.1"
25332546
prop-types "^15.7.2"
2534-
resolve "^1.15.1"
2535-
semver "^6.3.0"
2547+
resolve "^1.17.0"
25362548
string.prototype.matchall "^4.0.2"
2537-
xregexp "^4.3.0"
25382549

25392550
eslint-scope@^5.0.0:
25402551
version "5.1.0"
@@ -4215,7 +4226,7 @@ jsprim@^1.2.2:
42154226
json-schema "0.2.3"
42164227
verror "1.10.0"
42174228

4218-
jsx-ast-utils@^2.2.3:
4229+
jsx-ast-utils@^2.4.1:
42194230
version "2.4.1"
42204231
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz#1114a4c1209481db06c690c2b4f488cc665f657e"
42214232
integrity sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==
@@ -5014,7 +5025,7 @@ object.assign@^4.1.0:
50145025
has-symbols "^1.0.0"
50155026
object-keys "^1.0.11"
50165027

5017-
object.entries@^1.1.1:
5028+
object.entries@^1.1.2:
50185029
version "1.1.2"
50195030
resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.2.tgz#bc73f00acb6b6bb16c203434b10f9a7e797d3add"
50205031
integrity sha512-BQdB9qKmb/HyNdMNWVr7O3+z5MUIx3aiegEIJqjMBbBf0YT9RRxTJSim4mzFqtyr7PDAHigq0N9dO0m0tRakQA==
@@ -5697,7 +5708,7 @@ resolve@1.1.7:
56975708
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
56985709
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
56995710

5700-
resolve@^1.10.0, resolve@^1.12.0, resolve@^1.15.1, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
5711+
resolve@^1.10.0, resolve@^1.12.0, resolve@^1.17.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
57015712
version "1.17.0"
57025713
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.17.0.tgz#b25941b54968231cc2d1bb76a79cb7f2c0bf8444"
57035714
integrity sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==
@@ -6871,13 +6882,6 @@ xpipe@^1.0.5:
68716882
resolved "https://registry.yarnpkg.com/xpipe/-/xpipe-1.0.5.tgz#8dd8bf45fc3f7f55f0e054b878f43a62614dafdf"
68726883
integrity sha1-jdi/Rfw/f1Xw4FS4ePQ6YmFNr98=
68736884

6874-
xregexp@^4.3.0:
6875-
version "4.3.0"
6876-
resolved "https://registry.yarnpkg.com/xregexp/-/xregexp-4.3.0.tgz#7e92e73d9174a99a59743f67a4ce879a04b5ae50"
6877-
integrity sha512-7jXDIFXh5yJ/orPn4SXjuVrWWoi4Cr8jfV1eHv9CixKSbU+jY4mxfrBwAuDvupPNKpMUY+FeIqsVw/JLT9+B8g==
6878-
dependencies:
6879-
"@babel/runtime-corejs3" "^7.8.3"
6880-
68816885
xtend@~4.0.1:
68826886
version "4.0.2"
68836887
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"

0 commit comments

Comments
 (0)