diff --git a/packages/client/.eslintrc b/packages/client/.eslintrc index d491b839e..4de149d49 100644 --- a/packages/client/.eslintrc +++ b/packages/client/.eslintrc @@ -1,11 +1,12 @@ { "root": true, "parser": "@typescript-eslint/parser", - "plugins": ["@typescript-eslint"], + "plugins": ["@typescript-eslint", "react-hooks"], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended" + "plugin:@typescript-eslint/recommended", + "plugin:react-hooks/recommended" ], "rules": { "quotes": "off", diff --git a/packages/server/.eslintrc b/packages/server/.eslintrc index d491b839e..72f9afce3 100644 --- a/packages/server/.eslintrc +++ b/packages/server/.eslintrc @@ -11,7 +11,5 @@ "quotes": "off", "@typescript-eslint/quotes": ["error", "double"], "@typescript-eslint/lines-between-class-members": "off", - "react-hooks/rules-of-hooks": "error", - "react-hooks/exhaustive-deps": "warn" } }