diff --git a/package.json b/package.json index 45c21e1c..cf79ccf8 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "eslint-plugin-import": "2.21.2", "eslint-plugin-jsx-a11y": "6.2.3", "eslint-plugin-react": "7.19.0", - "eslint-plugin-react-hooks": "2.5.0", + "eslint-plugin-react-hooks": "4.0.4", "husky": "4.2.5", "jest": "25.1.0", "lint-staged": "10.0.8", diff --git a/yarn.lock b/yarn.lock index b3ce6c7c..3f38cf87 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5247,10 +5247,10 @@ eslint-plugin-jsx-a11y@6.2.3, eslint-plugin-jsx-a11y@^6.2.3: has "^1.0.3" jsx-ast-utils "^2.2.1" -eslint-plugin-react-hooks@2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-2.5.0.tgz#c50ab7ca5945ce6d1cf8248d9e185c80b54171b6" - integrity sha512-bzvdX47Jx847bgAYf0FPX3u1oxU+mKU8tqrpj4UX9A96SbAmj/HVEefEy6rJUog5u8QIlOPTKZcBpGn5kkKfAQ== +eslint-plugin-react-hooks@4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.0.4.tgz#aed33b4254a41b045818cacb047b81e6df27fa58" + integrity sha512-equAdEIsUETLFNCmmCkiCGq6rkSK5MoJhXFPFYeUebcjKgBmWWcgVOqZyQC8Bv1BwVCnTq9tBxgJFgAJTWoJtA== eslint-plugin-react-hooks@^1.7.0: version "1.7.0"