From 6a6b15ab45c10ba9d11fd0a67fde26ab3c4655e9 Mon Sep 17 00:00:00 2001 From: Pulkit Sharma Date: Sat, 29 Mar 2025 01:22:35 +0530 Subject: [PATCH] don't disable rules-of-hooks --- client/eslint.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/client/eslint.config.js b/client/eslint.config.js index ba28812..79a552e 100644 --- a/client/eslint.config.js +++ b/client/eslint.config.js @@ -19,7 +19,6 @@ export default tseslint.config( }, rules: { ...reactHooks.configs.recommended.rules, - "react-hooks/rules-of-hooks": "off", // Disable hooks dependency order checking "react-refresh/only-export-components": [ "warn", { allowConstantExport: true },