Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

hp

Manav Rathidbfb5e5da3fd
diff --git a/web/packages/build-config/eslintrc-react.mjs b/web/packages/build-config/eslintrc-react.mjs
index e55df1fd7a..aab8b2908d 100644
--- a/web/packages/build-config/eslintrc-react.mjs
+++ b/web/packages/build-config/eslintrc-react.mjs
@@ -1,4 +1,5 @@
import reactPlugin from "eslint-plugin-react";
+import hooksPlugin from "eslint-plugin-react-hooks";
import config from "./eslintrc-base.mjs";
export default [
@@ -12,6 +13,14 @@ export default [
},
},
},
+ {
+ plugins: {
+ "react-hooks": hooksPlugin,
+ },
+ rules: {
+ ...hooksPlugin.configs.recommended.rules,
+ },
+ },
];
// /* eslint-env node */