Skip to content

Commit 89d04b5

Browse files
Barbierofacebook-github-bot
authored andcommitted
Upgrade internal packages to support ESLint >= 6 (#28393)
Summary: Fixes #28293 I've tested it with https://github.com/react-native-community/react-native-template-typescript and it seems to be working as expected - no warnings, supports typescript 3.8. (note: I didn't upgrade the package version as I don't know how the releases work for this package) ## Changelog [CATEGORY] [TYPE] - Message Pull Request resolved: #28393 Reviewed By: hramos Differential Revision: D20647112 Pulled By: cpojer fbshipit-source-id: ca6b67971f625dc8125a58f9220dfcd86250ba94
1 parent 8ac00b3 commit 89d04b5

File tree

2 files changed

+643
-345
lines changed

2 files changed

+643
-345
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-native-community/eslint-config",
3-
"version": "0.0.7",
3+
"version": "1.0.0",
44
"description": "ESLint config for React Native",
55
"main": "index.js",
66
"license": "MIT",
@@ -10,23 +10,23 @@
1010
},
1111
"dependencies": {
1212
"@react-native-community/eslint-plugin": "^1.0.0",
13-
"@typescript-eslint/eslint-plugin": "^1.5.0",
14-
"@typescript-eslint/parser": "^1.5.0",
15-
"babel-eslint": "10.0.3",
16-
"eslint-config-prettier": "^6.0.0",
13+
"@typescript-eslint/eslint-plugin": "^2.25.0",
14+
"@typescript-eslint/parser": "^2.25.0",
15+
"babel-eslint": "10.1.0",
16+
"eslint-config-prettier": "^6.10.1",
1717
"eslint-plugin-eslint-comments": "^3.1.2",
1818
"eslint-plugin-flowtype": "2.50.3",
1919
"eslint-plugin-jest": "22.4.1",
20-
"eslint-plugin-prettier": "2.6.2",
21-
"eslint-plugin-react": "7.16.0",
22-
"eslint-plugin-react-hooks": "^2.0.1",
20+
"eslint-plugin-prettier": "3.1.2",
21+
"eslint-plugin-react": "7.19.0",
22+
"eslint-plugin-react-hooks": "^2.5.1",
2323
"eslint-plugin-react-native": "3.8.1",
24-
"prettier": "1.17.0"
24+
"prettier": "^2.0.2"
2525
},
2626
"peerDependencies": {
27-
"eslint": ">=5"
27+
"eslint": ">=6"
2828
},
2929
"devDependencies": {
30-
"eslint": "^5.1.0"
30+
"eslint": "^6.5.1"
3131
}
3232
}

0 commit comments

Comments
 (0)