From ac5cec725326b0910a1ad5ccc0df6232e1249fd8 Mon Sep 17 00:00:00 2001 From: Aakansha Doshi Date: Sat, 23 Jun 2018 21:40:45 +0530 Subject: [PATCH] chore(package): update eslint-plugin-react to 7.9.1 which solves the issue https://github.com/yannickcr/eslint-plugin-react/issues/1785 --- .eslintrc.js | 2 +- package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index b75b5a399..b208dfbbf 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -12,8 +12,8 @@ module.exports = { }, extends: ["eslint:recommended", "plugin:react/recommended"], parserOptions: { + ecmaVersion: "6", ecmaFeatures: { - experimentalObjectRestSpread: true, jsx: true }, sourceType: "module" diff --git a/package-lock.json b/package-lock.json index 7b31f2dc1..c022216e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3509,9 +3509,9 @@ } }, "eslint-plugin-react": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.8.0.tgz", - "integrity": "sha512-pojFKfVR+4FOimgMZDrB8UvxQPfCXLL1xISR1CVOe0lGBi6S0jwZdhOCYRT6ALkXS9vbY5zlOkb+e50HxtoHug==", + "version": "7.9.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.9.1.tgz", + "integrity": "sha512-uvq+2ZkiqzjwF+pMZ8xqIC3pChV4KviPvvPIyQOvKWnjtvyW3iGfHIRqVumw05L3itby0QGmA4VdBA9m1OdMmg==", "dev": true, "requires": { "doctrine": "2.1.0", diff --git a/package.json b/package.json index 3899c3c8c..b2d3deaac 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "eslint": "5.0.0", "eslint-plugin-jest": "21.15.1", "eslint-plugin-jsx-a11y": "6.0.3", - "eslint-plugin-react": "7.8.0", + "eslint-plugin-react": "7.9.1", "greenkeeper-lockfile": "^1.15.1", "jest": "22.1.4", "jsdom": "11.6.2",