You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Minor Changes
88f6561 Thanks @cevr! - New opt-in rule noCodeUnitPadding: it reports padStart and padEnd on any receiver but a number rendered as ASCII (String(n), n.toString(…), toFixed, toPrecision, toExponential). Both count UTF-16 code units, so a wide, combining or emoji character misaligns a padded column; pad by display width instead. A project enables it for the files that draw columns (a terminal UI, a CLI table) with an override.
0e6728d Thanks @cevr! - New recommended rule noInterruptibleMemo: it reports Effect.cached, Effect.cachedWithTTL and Effect.cachedInvalidateWithTTL, data-first or as a .pipe(...)/pipe(...) operator. Each runs the memoized effect in its first caller's fiber and keeps the exit that fiber reaches, so once that caller is interrupted every later caller gets the interruption back until the TTL ends. The message names the fixes: memoize a started fiber (fork once, then Fiber.join in each caller) or use Cache, which runs each lookup in a fiber of its own. An effect whose last step is Effect.uninterruptible, and a TTL given as a function (it can give an interruption no lifetime), are not reported.