mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-02 10:35:54 +00:00
Update eslint packages
This commit is contained in:
+17
-6
@@ -30,17 +30,28 @@
|
|||||||
"test": "flow && jest"
|
"test": "flow && jest"
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [ "react-native" ],
|
"presets": [
|
||||||
|
"react-native"
|
||||||
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
[ "transform-react-remove-prop-types", { "mode": "wrap" } ]
|
[
|
||||||
|
"transform-react-remove-prop-types",
|
||||||
|
{
|
||||||
|
"mode": "wrap"
|
||||||
|
}
|
||||||
|
]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
"testEnvironment": "jsdom",
|
"testEnvironment": "jsdom",
|
||||||
"timers": "fake",
|
"timers": "fake",
|
||||||
"setupFiles": [ "raf/polyfill" ],
|
"setupFiles": [
|
||||||
|
"raf/polyfill"
|
||||||
|
],
|
||||||
"setupTestFrameworkScriptFile": "<rootDir>/jest-setup-framework.js",
|
"setupTestFrameworkScriptFile": "<rootDir>/jest-setup-framework.js",
|
||||||
"snapshotSerializers": [ "enzyme-to-json/serializer" ]
|
"snapshotSerializers": [
|
||||||
|
"enzyme-to-json/serializer"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"**/*.js": [
|
"**/*.js": [
|
||||||
@@ -77,9 +88,9 @@
|
|||||||
"enzyme-adapter-react-16": "^1.0.0",
|
"enzyme-adapter-react-16": "^1.0.0",
|
||||||
"enzyme-to-json": "next",
|
"enzyme-to-json": "next",
|
||||||
"eslint": "^4.6.1",
|
"eslint": "^4.6.1",
|
||||||
"eslint-config-prettier": "^2.4.0",
|
"eslint-config-prettier": "^2.6.0",
|
||||||
"eslint-plugin-promise": "^3.5.0",
|
"eslint-plugin-promise": "^3.5.0",
|
||||||
"eslint-plugin-react": "^7.3.0",
|
"eslint-plugin-react": "^7.4.0",
|
||||||
"file-loader": "^0.11.2",
|
"file-loader": "^0.11.2",
|
||||||
"flow-bin": "^0.49.1",
|
"flow-bin": "^0.49.1",
|
||||||
"jest": "^21.1.0",
|
"jest": "^21.1.0",
|
||||||
|
|||||||
@@ -1824,9 +1824,9 @@ escope@^3.6.0:
|
|||||||
esrecurse "^4.1.0"
|
esrecurse "^4.1.0"
|
||||||
estraverse "^4.1.1"
|
estraverse "^4.1.1"
|
||||||
|
|
||||||
eslint-config-prettier@^2.4.0:
|
eslint-config-prettier@^2.6.0:
|
||||||
version "2.4.0"
|
version "2.6.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.4.0.tgz#fb7cf29c0ab2ba61af5164fb1930f9bef3be2872"
|
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.6.0.tgz#f21db0ebb438ad678fb98946097c4bb198befccc"
|
||||||
dependencies:
|
dependencies:
|
||||||
get-stdin "^5.0.1"
|
get-stdin "^5.0.1"
|
||||||
|
|
||||||
@@ -1834,9 +1834,9 @@ eslint-plugin-promise@^3.5.0:
|
|||||||
version "3.5.0"
|
version "3.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.5.0.tgz#78fbb6ffe047201627569e85a6c5373af2a68fca"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.5.0.tgz#78fbb6ffe047201627569e85a6c5373af2a68fca"
|
||||||
|
|
||||||
eslint-plugin-react@^7.3.0:
|
eslint-plugin-react@^7.4.0:
|
||||||
version "7.3.0"
|
version "7.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.3.0.tgz#ca9368da36f733fbdc05718ae4e91f778f38e344"
|
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.4.0.tgz#300a95861b9729c087d362dd64abcc351a74364a"
|
||||||
dependencies:
|
dependencies:
|
||||||
doctrine "^2.0.0"
|
doctrine "^2.0.0"
|
||||||
has "^1.0.1"
|
has "^1.0.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user