From 7ee855e4eaadb8dcd3b550d611d20b6e7fe14ceb Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 6 Jul 2019 13:25:50 +0700 Subject: [PATCH] Require ESLint 6 --- index.js | 4 ---- package.json | 19 ++++++++++--------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/index.js b/index.js index 90ca072..605ddb3 100644 --- a/index.js +++ b/index.js @@ -146,10 +146,6 @@ module.exports = { ], 'react-hooks/rules-of-hooks': 'error', - - // TODO: Make this an `error`. - // The rule needs to be more stable first, see: - // https://github.com/facebook/react/issues/14920 'react-hooks/exhaustive-deps': 'warn' } }; diff --git a/package.json b/package.json index 7e84e05..d4eaa92 100644 --- a/package.json +++ b/package.json @@ -51,16 +51,17 @@ "simple" ], "devDependencies": { - "ava": "^1.2.1", - "eslint": "^5.15.0", - "eslint-plugin-react": "^7.12.4", - "eslint-plugin-react-hooks": "^1.4.0", - "is-plain-obj": "^1.0.0", - "temp-write": "^3.1.0" + "ava": "^2.1.0", + "eslint": "^6.0.1", + "eslint-plugin-react": "^7.14.2", + "eslint-plugin-react-hooks": "^1.6.1", + "is-plain-obj": "^2.0.0", + "react": "^16.8.6", + "temp-write": "^4.0.0" }, "peerDependencies": { - "eslint": ">=5", - "eslint-plugin-react": ">=7.12.3", - "eslint-plugin-react-hooks": ">=1.4.0" + "eslint": ">=6", + "eslint-plugin-react": ">=7.14.2", + "eslint-plugin-react-hooks": ">=1.6.1" } }