don't disable rules-of-hooks
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user