diff --git a/package.json b/package.json index d0afd6a5e..f8296967f 100644 --- a/package.json +++ b/package.json @@ -64,6 +64,7 @@ "eslint-plugin-flowtype": "^5.1.3", "eslint-plugin-jest": "^23.13.2", "eslint-plugin-react": "^7.20.0", + "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-rulesdir": "^0.1.0", "flow-bin": "^0.129.0", "gen-flow-files": "^0.4.11", diff --git a/yarn.lock b/yarn.lock index c9e7c46cc..5ba0495cc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1970,6 +1970,11 @@ eslint-plugin-jest@^23.13.2: dependencies: "@typescript-eslint/experimental-utils" "^2.5.0" +eslint-plugin-react-hooks@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556" + integrity sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ== + eslint-plugin-react@^7.20.0: version "7.20.0" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.20.0.tgz#f98712f0a5e57dfd3e5542ef0604b8739cd47be3"