Upgrade internal packages to support ESLint >= 6 (#28393)

Summary:
Fixes https://github.com/facebook/react-native/issues/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: https://github.com/facebook/react-native/pull/28393

Reviewed By: hramos

Differential Revision: D20647112

Pulled By: cpojer

fbshipit-source-id: ca6b67971f625dc8125a58f9220dfcd86250ba94
This commit is contained in:
Pedro Barbiero 2020-03-26 07:18:05 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 8ac00b3ef8
Коммит 89d04b5e4a
2 изменённых файлов: 642 добавлений и 344 удалений

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "@react-native-community/eslint-config",
"version": "0.0.7",
"version": "1.0.0",
"description": "ESLint config for React Native",
"main": "index.js",
"license": "MIT",
@ -10,23 +10,23 @@
},
"dependencies": {
"@react-native-community/eslint-plugin": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^1.5.0",
"@typescript-eslint/parser": "^1.5.0",
"babel-eslint": "10.0.3",
"eslint-config-prettier": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"babel-eslint": "10.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-flowtype": "2.50.3",
"eslint-plugin-jest": "22.4.1",
"eslint-plugin-prettier": "2.6.2",
"eslint-plugin-react": "7.16.0",
"eslint-plugin-react-hooks": "^2.0.1",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"eslint-plugin-react-native": "3.8.1",
"prettier": "1.17.0"
"prettier": "^2.0.2"
},
"peerDependencies": {
"eslint": ">=5"
"eslint": ">=6"
},
"devDependencies": {
"eslint": "^5.1.0"
"eslint": "^6.5.1"
}
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу