don't disable rules-of-hooks

This commit is contained in:
Pulkit Sharma
2025-03-29 01:22:35 +05:30
parent 6efdcb626f
commit 6a6b15ab45

View File

@@ -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 },