Repository navigation
Patch Changes
-
#2410
359dc77Thanks @aidenybai! - Accept ASCII case variants of valid HTML button type keywords. -
#2433
b8da6b9Thanks @aidenybai! - Avoid inferring transition: all from unresolved custom Tailwind transition utilities paired with a duration. -
#2434
654e650Thanks @aidenybai! - Report a timer that a named async function scheduled byuseEffectcreates after anawaitwithout checking an effect-local lifecycle guard, such asconst load = async () => { await fetch(url); timer = setTimeout(...) }; void load();. The cleanup can run before the timer exists, so clearing the stored handle does not release it. The same code written as an async IIFE was already reported. A timer created before the firstawait, or one behind a guard that the cleanup invalidates, stays accepted. Guarded async work that restarts itself stays reported, as in #1762. -
#1958
5364034Thanks @skoshx! - Fixeffect-needs-cleanupfalse positive when React NavigationuseNavigation()result is renamed. The rule now correctly recognizes cleanup foraddListenercalls regardless of the receiver variable name, while preserving support fornavigationprops. -
#2346
4989042Thanks @aidenybai! - Avoid blanket-access warnings for direct Firebase conditions that combine sign-in with a stored-owner UID equality. Preserve broad-access findings and locate later unsafe statements after a protected condition. -
#1958
5364034Thanks @skoshx! - Accept renamed listener receivers initialized from a declared callable subscription contract when cleanup releases the handle on every path. -
#1959
ab7795bThanks @skoshx! - Accept guarded subscriptions created after a promise resolves when the effect cleanup cancels late work and releases the retained handle. This supports nullable cleanup with optional chaining, direct null checks, and logical AND guards, including Expo Accelerometer availability checks.Keep reporting missing cancellation, skipped releases, overwritten handles, repeated acquisition, and opaque thenable producers.
-
#2438
ec45ff9Thanks @aidenybai! - Check cleanup for inline and named useFocusEffect callbacks from Expo Router and React Navigation without falsely flagging callbacks whose cleanup is owned by the hook. -
#2435
e468c6fThanks @aidenybai! - Recognize Alchemy server resource bundles instead of reporting browser exposure, and avoid source cryptography heuristics on generated bundles while retaining browser-artifact secret checks. -
#1955
a182cd2Thanks @skoshx! - Recognize owned listener cleanup through supported logical receivers. Require stable receiver bindings, proven callable listener results, and cleanup on every path; retain warnings for unknown providers, receiver mutations, and subscriptions created during cleanup. -
#2400
0bebfecThanks @aidenybai! - Recognize theonUpdateprop on Three.js lines rendered by React Three Fiber Canvas. -
#2289
3eda1c1Thanks @aidenybai! - Preventno-reset-all-state-on-prop-changefrom crashing when initial or next state expressions contain BigInt literals. -
#2342
1cc1c94Thanks @aidenybai! - Clarify that the iframe sandbox escape involvingallow-scriptsandallow-same-originrequires content with the same origin as its embedding page, and use a title covering both missing sandbox attributes and sandbox values. Diagnostic detection and rule identifiers are unchanged. -
#2436
8177197Thanks @aidenybai! - Respect React Compiler memoization for TanStack Table v9 useTable options while preserving checks for the v8 API and explicit compiler opt-outs.