diff --git a/package.json b/package.json index bf23ac5607..14e74dd045 100644 --- a/package.json +++ b/package.json @@ -117,6 +117,7 @@ "eslint-plugin-babel": "^4.1.2", "eslint-plugin-flowtype": "^2.50.3", "eslint-plugin-react": "^7.11.1", + "eslint-plugin-react-hooks": "^2.2.0", "expect": "^1.16.0", "file-loader": "^3.0.1", "fs-extra": "^0.30.0", diff --git a/yarn.lock b/yarn.lock index 4606677063..4e5ec98f14 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3364,6 +3364,11 @@ eslint-plugin-flowtype@^2.50.3: dependencies: lodash "^4.17.10" +eslint-plugin-react-hooks@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.2.0.tgz#078264e9e388da6929ace09d6abe92c85963aff4" + integrity sha512-jSlnBjV2cmyIeL555H/FbvuSbQ1AtpHjLMHuPrQnt1eVA6lX8yufdygh7AArI2m8ct7ChHGx2uOaCuxq2MUn6g== + eslint-plugin-react@^7.11.1: version "7.14.3" resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.14.3.tgz#911030dd7e98ba49e1b2208599571846a66bdf13"