Skip to content

Commit 93019dc

Browse files
wcandillonfacebook-github-bot
authored andcommitted
⬆️ Upgrade eslint-config deps (#29048)
Summary: This dependency upgrade ensures that this eslint config now supports the latest TypeScript syntaxes. ## Changelog [General] [Fixed] - Upgrade dependencies. Pull Request resolved: #29048 Test Plan: Try this new version of the plugin on your project. Reviewed By: GijsWeterings Differential Revision: D21879997 Pulled By: cpojer fbshipit-source-id: cb54c2b56361f7c20994d981c61826f7f50350de
1 parent a50fa55 commit 93019dc

File tree

2 files changed

+43
-38
lines changed

2 files changed

+43
-38
lines changed

packages/eslint-config-react-native-community/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-community/eslint-config",
3-
"version": "1.1.0",
3+
"version": "2.0.0",
44
"description": "ESLint config for React Native",
55
"main": "index.js",
66
"license": "MIT",
@@ -11,17 +11,17 @@
1111
"homepage": "https://github.com/facebook/react-native/tree/master/packages/eslint-config-react-native-community#readme",
1212
"dependencies": {
1313
"@react-native-community/eslint-plugin": "^1.1.0",
14-
"@typescript-eslint/eslint-plugin": "^2.25.0",
15-
"@typescript-eslint/parser": "^2.25.0",
14+
"@typescript-eslint/eslint-plugin": "^3.1.0",
15+
"@typescript-eslint/parser": "^3.1.0",
1616
"babel-eslint": "^10.1.0",
1717
"eslint-config-prettier": "^6.10.1",
1818
"eslint-plugin-eslint-comments": "^3.1.2",
1919
"eslint-plugin-flowtype": "2.50.3",
2020
"eslint-plugin-jest": "22.4.1",
2121
"eslint-plugin-prettier": "3.1.2",
22-
"eslint-plugin-react": "7.19.0",
23-
"eslint-plugin-react-hooks": "^3.0.0",
24-
"eslint-plugin-react-native": "3.8.1",
22+
"eslint-plugin-react": "^7.20.0",
23+
"eslint-plugin-react-hooks": "^4.0.4",
24+
"eslint-plugin-react-native": "^3.8.1",
2525
"prettier": "^2.0.2"
2626
},
2727
"peerDependencies": {

packages/eslint-config-react-native-community/yarn.lock

+37-32
Original file line numberDiff line numberDiff line change
@@ -138,47 +138,48 @@
138138
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339"
139139
integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==
140140

141-
"@typescript-eslint/eslint-plugin@^2.25.0":
142-
version "2.25.0"
143-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.25.0.tgz#0b60917332f20dcff54d0eb9be2a9e9f4c9fbd02"
144-
integrity sha512-W2YyMtjmlrOjtXc+FtTelVs9OhuR6OlYc4XKIslJ8PUJOqgYYAPRJhAqkYRQo3G4sjvG8jSodsNycEn4W2gHUw==
141+
"@typescript-eslint/eslint-plugin@^3.1.0":
142+
version "3.1.0"
143+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-3.1.0.tgz#4ac00ecca3bbea740c577f1843bc54fa69c3def2"
144+
integrity sha512-D52KwdgkjYc+fmTZKW7CZpH5ZBJREJKZXRrveMiRCmlzZ+Rw9wRVJ1JAmHQ9b/+Ehy1ZeaylofDB9wwXUt83wg==
145145
dependencies:
146-
"@typescript-eslint/experimental-utils" "2.25.0"
146+
"@typescript-eslint/experimental-utils" "3.1.0"
147147
functional-red-black-tree "^1.0.1"
148148
regexpp "^3.0.0"
149+
semver "^7.3.2"
149150
tsutils "^3.17.1"
150151

151-
"@typescript-eslint/experimental-utils@2.25.0":
152-
version "2.25.0"
153-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.25.0.tgz#13691c4fe368bd377b1e5b1e4ad660b220bf7714"
154-
integrity sha512-0IZ4ZR5QkFYbaJk+8eJ2kYeA+1tzOE1sBjbwwtSV85oNWYUBep+EyhlZ7DLUCyhMUGuJpcCCFL0fDtYAP1zMZw==
152+
"@typescript-eslint/experimental-utils@3.1.0":
153+
version "3.1.0"
154+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-3.1.0.tgz#2d5dba7c2ac2a3da3bfa3f461ff64de38587a872"
155+
integrity sha512-Zf8JVC2K1svqPIk1CB/ehCiWPaERJBBokbMfNTNRczCbQSlQXaXtO/7OfYz9wZaecNvdSvVADt6/XQuIxhC79w==
155156
dependencies:
156157
"@types/json-schema" "^7.0.3"
157-
"@typescript-eslint/typescript-estree" "2.25.0"
158+
"@typescript-eslint/typescript-estree" "3.1.0"
158159
eslint-scope "^5.0.0"
159160
eslint-utils "^2.0.0"
160161

161-
"@typescript-eslint/parser@^2.25.0":
162-
version "2.25.0"
163-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.25.0.tgz#abfb3d999084824d9a756d9b9c0f36fba03adb76"
164-
integrity sha512-mccBLaBSpNVgp191CP5W+8U1crTyXsRziWliCqzj02kpxdjKMvFHGJbK33NroquH3zB/gZ8H511HEsJBa2fNEg==
162+
"@typescript-eslint/parser@^3.1.0":
163+
version "3.1.0"
164+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-3.1.0.tgz#9c02ba5d88ad2355672f39e6cd4176f172dd47f8"
165+
integrity sha512-NcDSJK8qTA2tPfyGiPes9HtVKLbksmuYjlgGAUs7Ld2K0swdWibnCq9IJx9kJN8JJdgUJSorFiGaPHBgH81F/Q==
165166
dependencies:
166167
"@types/eslint-visitor-keys" "^1.0.0"
167-
"@typescript-eslint/experimental-utils" "2.25.0"
168-
"@typescript-eslint/typescript-estree" "2.25.0"
168+
"@typescript-eslint/experimental-utils" "3.1.0"
169+
"@typescript-eslint/typescript-estree" "3.1.0"
169170
eslint-visitor-keys "^1.1.0"
170171

171-
"@typescript-eslint/typescript-estree@2.25.0":
172-
version "2.25.0"
173-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.25.0.tgz#b790497556734b7476fa7dd3fa539955a5c79e2c"
174-
integrity sha512-VUksmx5lDxSi6GfmwSK7SSoIKSw9anukWWNitQPqt58LuYrKalzsgeuignbqnB+rK/xxGlSsCy8lYnwFfB6YJg==
172+
"@typescript-eslint/typescript-estree@3.1.0":
173+
version "3.1.0"
174+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-3.1.0.tgz#eaff52d31e615e05b894f8b9d2c3d8af152a5dd2"
175+
integrity sha512-+4nfYauqeQvK55PgFrmBWFVYb6IskLyOosYEmhH3mSVhfBp9AIJnjExdgDmKWoOBHRcPM8Ihfm2BFpZf0euUZQ==
175176
dependencies:
176177
debug "^4.1.1"
177178
eslint-visitor-keys "^1.1.0"
178179
glob "^7.1.6"
179180
is-glob "^4.0.1"
180181
lodash "^4.17.15"
181-
semver "^6.3.0"
182+
semver "^7.3.2"
182183
tsutils "^3.17.1"
183184

184185
acorn-jsx@^5.2.0:
@@ -510,27 +511,27 @@ [email protected]:
510511
dependencies:
511512
prettier-linter-helpers "^1.0.0"
512513

513-
eslint-plugin-react-hooks@^3.0.0:
514-
version "3.0.0"
515-
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-3.0.0.tgz#9e80c71846eb68dd29c3b21d832728aa66e5bd35"
516-
integrity sha512-EjxTHxjLKIBWFgDJdhKKzLh5q+vjTFrqNZX36uIxWS4OfyXe5DawqPj3U5qeJ1ngLwatjzQnmR0Lz0J0YH3kxw==
514+
eslint-plugin-react-hooks@^4.0.4:
515+
version "4.0.4"
516+
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.0.4.tgz#aed33b4254a41b045818cacb047b81e6df27fa58"
517+
integrity sha512-equAdEIsUETLFNCmmCkiCGq6rkSK5MoJhXFPFYeUebcjKgBmWWcgVOqZyQC8Bv1BwVCnTq9tBxgJFgAJTWoJtA==
517518

518519
eslint-plugin-react-native-globals@^0.1.1:
519520
version "0.1.2"
520521
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native-globals/-/eslint-plugin-react-native-globals-0.1.2.tgz#ee1348bc2ceb912303ce6bdbd22e2f045ea86ea2"
521522
integrity sha512-9aEPf1JEpiTjcFAmmyw8eiIXmcNZOqaZyHO77wgm0/dWfT/oxC1SrIq8ET38pMxHYrcB6Uew+TzUVsBeczF88g==
522523

523-
524+
eslint-plugin-react-native@^3.8.1:
524525
version "3.8.1"
525526
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native/-/eslint-plugin-react-native-3.8.1.tgz#92811e37191ecb0d29c0f0a0c9e5c943ee573821"
526527
integrity sha512-6Z4s4nvgFRdda/1s1+uu4a6EMZwEjjJ9Bk/1yBImv0fd9U2CsGu2cUakAtV83cZKhizbWhSouXoaK4JtlScdFg==
527528
dependencies:
528529
eslint-plugin-react-native-globals "^0.1.1"
529530

530-
eslint-plugin-react@7.19.0:
531-
version "7.19.0"
532-
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz#6d08f9673628aa69c5559d33489e855d83551666"
533-
integrity sha512-SPT8j72CGuAP+JFbT0sJHOB80TX/pu44gQ4vXH/cq+hQTiY2PuZ6IHkqXJV6x1b28GDdo1lbInjKUrrdUf0LOQ==
531+
eslint-plugin-react@^7.20.0:
532+
version "7.20.0"
533+
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.20.0.tgz#f98712f0a5e57dfd3e5542ef0604b8739cd47be3"
534+
integrity sha512-rqe1abd0vxMjmbPngo4NaYxTcR3Y4Hrmc/jg4T+sYz63yqlmJRknpEQfmWY+eDWPuMmix6iUIK+mv0zExjeLgA==
534535
dependencies:
535536
array-includes "^3.1.1"
536537
doctrine "^2.1.0"
@@ -541,7 +542,6 @@ [email protected]:
541542
object.values "^1.1.1"
542543
prop-types "^15.7.2"
543544
resolve "^1.15.1"
544-
semver "^6.3.0"
545545
string.prototype.matchall "^4.0.2"
546546
xregexp "^4.3.0"
547547

@@ -1294,11 +1294,16 @@ semver@^5.5.0:
12941294
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
12951295
integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
12961296

1297-
semver@^6.1.2, semver@^6.3.0:
1297+
semver@^6.1.2:
12981298
version "6.3.0"
12991299
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
13001300
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
13011301

1302+
semver@^7.3.2:
1303+
version "7.3.2"
1304+
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz#604962b052b81ed0786aae84389ffba70ffd3938"
1305+
integrity sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==
1306+
13021307
shebang-command@^1.2.0:
13031308
version "1.2.0"
13041309
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"

0 commit comments

Comments
 (0)