Skip to content

Commit 864a8c1

Browse files
wcandillonfacebook-github-bot
authored andcommitted
⬆️ Upgrade package to work with ESLint 8 (#33448)
Summary: This are the two package upgrade required for this package to run with ESLint 8 ## Changelog [JavaScript] [Changed] `react-native-community/eslint-config` to work with ESLInt 8 Pull Request resolved: #33448 Test Plan: Try the package with ESLint 8 Reviewed By: yungsters Differential Revision: D35012075 Pulled By: GijsWeterings fbshipit-source-id: 7de68c770fb31fe8ec06c805afea9b5f3a7a7294
1 parent 457dd45 commit 864a8c1

File tree

2 files changed

+73
-63
lines changed

2 files changed

+73
-63
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-community/eslint-config",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "ESLint config for React Native",
55
"main": "index.js",
66
"license": "MIT",
@@ -12,12 +12,12 @@
1212
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native-community#readme",
1313
"dependencies": {
1414
"@react-native-community/eslint-plugin": "^1.1.0",
15-
"@typescript-eslint/eslint-plugin": "^5.8.0",
16-
"@typescript-eslint/parser": "^5.8.0",
15+
"@typescript-eslint/eslint-plugin": "^5.15.0",
16+
"@typescript-eslint/parser": "^5.15.0",
1717
"babel-eslint": "^10.1.0",
1818
"eslint-config-prettier": "^8.3.0",
1919
"eslint-plugin-eslint-comments": "^3.2.0",
20-
"eslint-plugin-flowtype": "^7.0.0",
20+
"eslint-plugin-flowtype": "^8.0.0",
2121
"eslint-plugin-jest": "^25.2.4",
2222
"eslint-plugin-prettier": "^4.0.0",
2323
"eslint-plugin-react": "^7.26.1",

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

+69-59
Original file line numberDiff line numberDiff line change
@@ -165,32 +165,21 @@
165165
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.9.tgz#97edc9037ea0c38585320b28964dde3b39e4660d"
166166
integrity sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==
167167

168-
"@typescript-eslint/eslint-plugin@^5.8.0":
169-
version "5.8.0"
170-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.8.0.tgz#52cd9305ceef98a5333f9492d519e6c6c7fe7d43"
171-
integrity sha512-spu1UW7QuBn0nJ6+psnfCc3iVoQAifjKORgBngKOmC8U/1tbe2YJMzYQqDGYB4JCss7L8+RM2kKLb1B1Aw9BNA==
172-
dependencies:
173-
"@typescript-eslint/experimental-utils" "5.8.0"
174-
"@typescript-eslint/scope-manager" "5.8.0"
168+
"@typescript-eslint/eslint-plugin@^5.15.0":
169+
version "5.17.0"
170+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.17.0.tgz#704eb4e75039000531255672bf1c85ee85cf1d67"
171+
integrity sha512-qVstvQilEd89HJk3qcbKt/zZrfBZ+9h2ynpAGlWjWiizA7m/MtLT9RoX6gjtpE500vfIg8jogAkDzdCxbsFASQ==
172+
dependencies:
173+
"@typescript-eslint/scope-manager" "5.17.0"
174+
"@typescript-eslint/type-utils" "5.17.0"
175+
"@typescript-eslint/utils" "5.17.0"
175176
debug "^4.3.2"
176177
functional-red-black-tree "^1.0.1"
177178
ignore "^5.1.8"
178179
regexpp "^3.2.0"
179180
semver "^7.3.5"
180181
tsutils "^3.21.0"
181182

182-
"@typescript-eslint/[email protected]":
183-
version "5.8.0"
184-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.8.0.tgz#0916ffe98d34b3c95e3652efa0cace61a7b25728"
185-
integrity sha512-KN5FvNH71bhZ8fKtL+lhW7bjm7cxs1nt+hrDZWIqb6ViCffQcWyLunGrgvISgkRojIDcXIsH+xlFfI4RCDA0xA==
186-
dependencies:
187-
"@types/json-schema" "^7.0.9"
188-
"@typescript-eslint/scope-manager" "5.8.0"
189-
"@typescript-eslint/types" "5.8.0"
190-
"@typescript-eslint/typescript-estree" "5.8.0"
191-
eslint-scope "^5.1.1"
192-
eslint-utils "^3.0.0"
193-
194183
"@typescript-eslint/experimental-utils@^5.0.0":
195184
version "5.3.1"
196185
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.3.1.tgz#bbd8f9b67b4d5fdcb9d2f90297d8fcda22561e05"
@@ -203,16 +192,24 @@
203192
eslint-scope "^5.1.1"
204193
eslint-utils "^3.0.0"
205194

206-
"@typescript-eslint/parser@^5.8.0":
207-
version "5.8.0"
208-
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.8.0.tgz#b39970b21c1d7bc4a6018507fb29b380328d2587"
209-
integrity sha512-Gleacp/ZhRtJRYs5/T8KQR3pAQjQI89Dn/k+OzyCKOsLiZH2/Vh60cFBTnFsHNI6WAD+lNUo/xGZ4NeA5u0Ipw==
195+
"@typescript-eslint/parser@^5.15.0":
196+
version "5.17.0"
197+
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.17.0.tgz#7def77d5bcd8458d12d52909118cf3f0a45f89d5"
198+
integrity sha512-aRzW9Jg5Rlj2t2/crzhA2f23SIYFlF9mchGudyP0uiD6SenIxzKoLjwzHbafgHn39dNV/TV7xwQkLfFTZlJ4ig==
210199
dependencies:
211-
"@typescript-eslint/scope-manager" "5.8.0"
212-
"@typescript-eslint/types" "5.8.0"
213-
"@typescript-eslint/typescript-estree" "5.8.0"
200+
"@typescript-eslint/scope-manager" "5.17.0"
201+
"@typescript-eslint/types" "5.17.0"
202+
"@typescript-eslint/typescript-estree" "5.17.0"
214203
debug "^4.3.2"
215204

205+
"@typescript-eslint/[email protected]":
206+
version "5.17.0"
207+
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.17.0.tgz#4cea7d0e0bc0e79eb60cad431c89120987c3f952"
208+
integrity sha512-062iCYQF/doQ9T2WWfJohQKKN1zmmXVfAcS3xaiialiw8ZUGy05Em6QVNYJGO34/sU1a7a+90U3dUNfqUDHr3w==
209+
dependencies:
210+
"@typescript-eslint/types" "5.17.0"
211+
"@typescript-eslint/visitor-keys" "5.17.0"
212+
216213
"@typescript-eslint/[email protected]":
217214
version "5.3.1"
218215
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.3.1.tgz#3cfbfbcf5488fb2a9a6fbbe97963ee1e8d419269"
@@ -221,23 +218,37 @@
221218
"@typescript-eslint/types" "5.3.1"
222219
"@typescript-eslint/visitor-keys" "5.3.1"
223220

224-
"@typescript-eslint/scope-manager@5.8.0":
225-
version "5.8.0"
226-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.8.0.tgz#2371095b4fa4c7be6a80b380f4e1b49c715e16f4"
227-
integrity sha512-x82CYJsLOjPCDuFFEbS6e7K1QEWj7u5Wk1alw8A+gnJiYwNnDJk0ib6PCegbaPMjrfBvFKa7SxE3EOnnIQz2Gg==
221+
"@typescript-eslint/type-utils@5.17.0":
222+
version "5.17.0"
223+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.17.0.tgz#1c4549d68c89877662224aabb29fbbebf5fc9672"
224+
integrity sha512-3hU0RynUIlEuqMJA7dragb0/75gZmwNwFf/QJokWzPehTZousP/MNifVSgjxNcDCkM5HI2K22TjQWUmmHUINSg==
228225
dependencies:
229-
"@typescript-eslint/types" "5.8.0"
230-
"@typescript-eslint/visitor-keys" "5.8.0"
226+
"@typescript-eslint/utils" "5.17.0"
227+
debug "^4.3.2"
228+
tsutils "^3.21.0"
229+
230+
"@typescript-eslint/[email protected]":
231+
version "5.17.0"
232+
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.17.0.tgz#861ec9e669ffa2aa9b873dd4d28d9b1ce26d216f"
233+
integrity sha512-AgQ4rWzmCxOZLioFEjlzOI3Ch8giDWx8aUDxyNw9iOeCvD3GEYAB7dxWGQy4T/rPVe8iPmu73jPHuaSqcjKvxw==
231234

232235
"@typescript-eslint/[email protected]":
233236
version "5.3.1"
234237
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.3.1.tgz#afaa715b69ebfcfde3af8b0403bf27527912f9b7"
235238
integrity sha512-bG7HeBLolxKHtdHG54Uac750eXuQQPpdJfCYuw4ZI3bZ7+GgKClMWM8jExBtp7NSP4m8PmLRM8+lhzkYnSmSxQ==
236239

237-
"@typescript-eslint/[email protected]":
238-
version "5.8.0"
239-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.8.0.tgz#e7fa74ec35d9dbe3560d039d3d8734986c3971e0"
240-
integrity sha512-LdCYOqeqZWqCMOmwFnum6YfW9F3nKuxJiR84CdIRN5nfHJ7gyvGpXWqL/AaW0k3Po0+wm93ARAsOdzlZDPCcXg==
240+
"@typescript-eslint/[email protected]":
241+
version "5.17.0"
242+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.17.0.tgz#a7cba7dfc8f9cc2ac78c18584e684507df4f2488"
243+
integrity sha512-X1gtjEcmM7Je+qJRhq7ZAAaNXYhTgqMkR10euC4Si6PIjb+kwEQHSxGazXUQXFyqfEXdkGf6JijUu5R0uceQzg==
244+
dependencies:
245+
"@typescript-eslint/types" "5.17.0"
246+
"@typescript-eslint/visitor-keys" "5.17.0"
247+
debug "^4.3.2"
248+
globby "^11.0.4"
249+
is-glob "^4.0.3"
250+
semver "^7.3.5"
251+
tsutils "^3.21.0"
241252

242253
"@typescript-eslint/[email protected]":
243254
version "5.3.1"
@@ -252,18 +263,25 @@
252263
semver "^7.3.5"
253264
tsutils "^3.21.0"
254265

255-
"@typescript-eslint/typescript-estree@5.8.0":
256-
version "5.8.0"
257-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.8.0.tgz#900469ba9d5a37f4482b014ecce4a5dbb86cb4dd"
258-
integrity sha512-srfeZ3URdEcUsSLbkOFqS7WoxOqn8JNil2NSLO9O+I2/Uyc85+UlfpEvQHIpj5dVts7KKOZnftoJD/Fdv0L7nQ==
266+
"@typescript-eslint/utils@5.17.0":
267+
version "5.17.0"
268+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.17.0.tgz#549a9e1d491c6ccd3624bc3c1b098f5cfb45f306"
269+
integrity sha512-DVvndq1QoxQH+hFv+MUQHrrWZ7gQ5KcJzyjhzcqB1Y2Xes1UQQkTRPUfRpqhS8mhTWsSb2+iyvDW1Lef5DD7vA==
259270
dependencies:
260-
"@typescript-eslint/types" "5.8.0"
261-
"@typescript-eslint/visitor-keys" "5.8.0"
262-
debug "^4.3.2"
263-
globby "^11.0.4"
264-
is-glob "^4.0.3"
265-
semver "^7.3.5"
266-
tsutils "^3.21.0"
271+
"@types/json-schema" "^7.0.9"
272+
"@typescript-eslint/scope-manager" "5.17.0"
273+
"@typescript-eslint/types" "5.17.0"
274+
"@typescript-eslint/typescript-estree" "5.17.0"
275+
eslint-scope "^5.1.1"
276+
eslint-utils "^3.0.0"
277+
278+
"@typescript-eslint/[email protected]":
279+
version "5.17.0"
280+
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.17.0.tgz#52daae45c61b0211b4c81b53a71841911e479128"
281+
integrity sha512-6K/zlc4OfCagUu7Am/BD5k8PSWQOgh34Nrv9Rxe2tBzlJ7uOeJ/h7ugCGDCeEZHT6k2CJBhbk9IsbkPI0uvUkA==
282+
dependencies:
283+
"@typescript-eslint/types" "5.17.0"
284+
eslint-visitor-keys "^3.0.0"
267285

268286
"@typescript-eslint/[email protected]":
269287
version "5.3.1"
@@ -273,14 +291,6 @@
273291
"@typescript-eslint/types" "5.3.1"
274292
eslint-visitor-keys "^3.0.0"
275293

276-
"@typescript-eslint/[email protected]":
277-
version "5.8.0"
278-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.8.0.tgz#22d4ed96fe2451135299239feedb9fe1dcec780c"
279-
integrity sha512-+HDIGOEMnqbxdAHegxvnOqESUH6RWFRR2b8qxP1W9CZnnYh4Usz6MBL+2KMAgPk/P0o9c1HqnYtwzVH6GTIqug==
280-
dependencies:
281-
"@typescript-eslint/types" "5.8.0"
282-
eslint-visitor-keys "^3.0.0"
283-
284294
acorn-jsx@^5.2.0:
285295
version "5.2.0"
286296
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.2.0.tgz#4c66069173d6fdd68ed85239fc256226182b2ebe"
@@ -607,10 +617,10 @@ eslint-plugin-eslint-comments@^3.2.0:
607617
escape-string-regexp "^1.0.5"
608618
ignore "^5.0.5"
609619

610-
eslint-plugin-flowtype@^7.0.0:
611-
version "7.0.0"
612-
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-7.0.0.tgz#da07684b5f0caf7c42ed013c2d0c04dbaf2960f4"
613-
integrity sha512-kW3eipG2Vth6e0apYqmFs05IHhFklJJNokYNiNEO5AIjm7H29oTDybYNB2bMULUYcf7iX7Wf3GdRhfBORKcT1g==
620+
eslint-plugin-flowtype@^8.0.0:
621+
version "8.0.3"
622+
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-8.0.3.tgz#e1557e37118f24734aa3122e7536a038d34a4912"
623+
integrity sha512-dX8l6qUL6O+fYPtpNRideCFSpmWOUVx5QcaGLVqe/vlDiBSe4vYljDWDETwnyFzpl7By/WVIu6rcrniCgH9BqQ==
614624
dependencies:
615625
lodash "^4.17.21"
616626
string-natural-compare "^3.0.1"

0 commit comments

Comments
 (0)