@orderly.network/eslint-config 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -131,7 +131,7 @@ export default defineConfig([
|
|
|
131
131
|
// https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks#flat-config-eslintconfigjsts-1
|
|
132
132
|
"react-hooks/rules-of-hooks": "warn",
|
|
133
133
|
// it cause too many false positives, use eslint-plugin-react-hooks-configurable won't solve the problem either
|
|
134
|
-
"react-hooks/exhaustive-deps": "
|
|
134
|
+
"react-hooks/exhaustive-deps": "off",
|
|
135
135
|
|
|
136
136
|
// React Compiler rules
|
|
137
137
|
"react-hooks/config": "warn",
|