From ee5e3cb3caa6f16e6a40a308f0a0867b457f1a7e Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Sun, 1 Oct 2017 16:54:29 -0700 Subject: [PATCH] Update eslint packages --- package.json | 23 +++++++++++++++++------ yarn.lock | 12 ++++++------ 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 15ee4c6f..bd7765d8 100644 --- a/package.json +++ b/package.json @@ -30,17 +30,28 @@ "test": "flow && jest" }, "babel": { - "presets": [ "react-native" ], + "presets": [ + "react-native" + ], "plugins": [ - [ "transform-react-remove-prop-types", { "mode": "wrap" } ] + [ + "transform-react-remove-prop-types", + { + "mode": "wrap" + } + ] ] }, "jest": { "testEnvironment": "jsdom", "timers": "fake", - "setupFiles": [ "raf/polyfill" ], + "setupFiles": [ + "raf/polyfill" + ], "setupTestFrameworkScriptFile": "/jest-setup-framework.js", - "snapshotSerializers": [ "enzyme-to-json/serializer" ] + "snapshotSerializers": [ + "enzyme-to-json/serializer" + ] }, "lint-staged": { "**/*.js": [ @@ -77,9 +88,9 @@ "enzyme-adapter-react-16": "^1.0.0", "enzyme-to-json": "next", "eslint": "^4.6.1", - "eslint-config-prettier": "^2.4.0", + "eslint-config-prettier": "^2.6.0", "eslint-plugin-promise": "^3.5.0", - "eslint-plugin-react": "^7.3.0", + "eslint-plugin-react": "^7.4.0", "file-loader": "^0.11.2", "flow-bin": "^0.49.1", "jest": "^21.1.0", diff --git a/yarn.lock b/yarn.lock index 08722b53..e8677f76 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1824,9 +1824,9 @@ escope@^3.6.0: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-config-prettier@^2.4.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.4.0.tgz#fb7cf29c0ab2ba61af5164fb1930f9bef3be2872" +eslint-config-prettier@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.6.0.tgz#f21db0ebb438ad678fb98946097c4bb198befccc" dependencies: get-stdin "^5.0.1" @@ -1834,9 +1834,9 @@ eslint-plugin-promise@^3.5.0: version "3.5.0" resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.5.0.tgz#78fbb6ffe047201627569e85a6c5373af2a68fca" -eslint-plugin-react@^7.3.0: - version "7.3.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.3.0.tgz#ca9368da36f733fbdc05718ae4e91f778f38e344" +eslint-plugin-react@^7.4.0: + version "7.4.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.4.0.tgz#300a95861b9729c087d362dd64abcc351a74364a" dependencies: doctrine "^2.0.0" has "^1.0.1"