build(eslint): drop the three React Compiler rules that cannot fire on 7.1.1
react-hooks/exhaustive-effect-dependencies, memoized-effect-dependencies and rule-suppression were switched on in E32 "for the plugin version that wires them up". Read in the plugin source and probed (E32 review): the first's validation is compiled off, nothing emits the second's category, and lint mode hands the third no suppression rules. 0 hits by construction — a rule that cannot report reads as coverage it does not give. The comment keeps their names and why, so a plugin upgrade can re-check them.
This commit is contained in:
@@ -92,7 +92,6 @@
|
||||
"react-hooks/config",
|
||||
"react-hooks/error-boundaries",
|
||||
"react-hooks/exhaustive-deps",
|
||||
"react-hooks/exhaustive-effect-dependencies",
|
||||
"react-hooks/gating",
|
||||
"react-hooks/globals",
|
||||
"react-hooks/hooks",
|
||||
@@ -100,12 +99,10 @@
|
||||
"react-hooks/incompatible-library",
|
||||
"react-hooks/invariant",
|
||||
"react-hooks/memo-dependencies",
|
||||
"react-hooks/memoized-effect-dependencies",
|
||||
"react-hooks/no-deriving-state-in-effects",
|
||||
"react-hooks/preserve-manual-memoization",
|
||||
"react-hooks/purity",
|
||||
"react-hooks/refs",
|
||||
"react-hooks/rule-suppression",
|
||||
"react-hooks/rules-of-hooks",
|
||||
"react-hooks/set-state-in-effect",
|
||||
"react-hooks/set-state-in-render",
|
||||
@@ -185,7 +182,6 @@
|
||||
"react-hooks/config",
|
||||
"react-hooks/error-boundaries",
|
||||
"react-hooks/exhaustive-deps",
|
||||
"react-hooks/exhaustive-effect-dependencies",
|
||||
"react-hooks/gating",
|
||||
"react-hooks/globals",
|
||||
"react-hooks/hooks",
|
||||
@@ -193,12 +189,10 @@
|
||||
"react-hooks/incompatible-library",
|
||||
"react-hooks/invariant",
|
||||
"react-hooks/memo-dependencies",
|
||||
"react-hooks/memoized-effect-dependencies",
|
||||
"react-hooks/no-deriving-state-in-effects",
|
||||
"react-hooks/preserve-manual-memoization",
|
||||
"react-hooks/purity",
|
||||
"react-hooks/refs",
|
||||
"react-hooks/rule-suppression",
|
||||
"react-hooks/rules-of-hooks",
|
||||
"react-hooks/set-state-in-effect",
|
||||
"react-hooks/set-state-in-render",
|
||||
@@ -961,7 +955,6 @@
|
||||
"react-hooks/config": [2],
|
||||
"react-hooks/error-boundaries": [2],
|
||||
"react-hooks/exhaustive-deps": [1],
|
||||
"react-hooks/exhaustive-effect-dependencies": [2],
|
||||
"react-hooks/gating": [2],
|
||||
"react-hooks/globals": [2],
|
||||
"react-hooks/hooks": [2],
|
||||
@@ -969,12 +962,10 @@
|
||||
"react-hooks/incompatible-library": [1],
|
||||
"react-hooks/invariant": [2],
|
||||
"react-hooks/memo-dependencies": [2],
|
||||
"react-hooks/memoized-effect-dependencies": [2],
|
||||
"react-hooks/no-deriving-state-in-effects": [2],
|
||||
"react-hooks/preserve-manual-memoization": [2],
|
||||
"react-hooks/purity": [2],
|
||||
"react-hooks/refs": [2],
|
||||
"react-hooks/rule-suppression": [2],
|
||||
"react-hooks/rules-of-hooks": [2],
|
||||
"react-hooks/set-state-in-effect": [2],
|
||||
"react-hooks/set-state-in-render": [2],
|
||||
@@ -1203,7 +1194,6 @@
|
||||
"react-hooks/config",
|
||||
"react-hooks/error-boundaries",
|
||||
"react-hooks/exhaustive-deps",
|
||||
"react-hooks/exhaustive-effect-dependencies",
|
||||
"react-hooks/gating",
|
||||
"react-hooks/globals",
|
||||
"react-hooks/hooks",
|
||||
@@ -1211,12 +1201,10 @@
|
||||
"react-hooks/incompatible-library",
|
||||
"react-hooks/invariant",
|
||||
"react-hooks/memo-dependencies",
|
||||
"react-hooks/memoized-effect-dependencies",
|
||||
"react-hooks/no-deriving-state-in-effects",
|
||||
"react-hooks/preserve-manual-memoization",
|
||||
"react-hooks/purity",
|
||||
"react-hooks/refs",
|
||||
"react-hooks/rule-suppression",
|
||||
"react-hooks/rules-of-hooks",
|
||||
"react-hooks/set-state-in-effect",
|
||||
"react-hooks/set-state-in-render",
|
||||
|
||||
Reference in New Issue
Block a user