Skip to main content

Biome 2.6.6

Release Date: November 6, 2026

Biome 2.6.6 arrives on November 6, 2026. The release is a linting patch: ten new nursery rules, no breaking configuration changes, no new formatter output.

  • noArrayMethodsOnArguments — Flags array methods such as reduce() called on the arguments object, which is array-like but not an array and throws a TypeError at runtime (#12887).
  • noConstantComparisons — Reports && and || conditions that can never be true, are always true, or contain a comparison with no effect, such as statusCode <= 400 && statusCode > 500 (#12877).
  • noErasingOperation — Catches arithmetic that always collapses to zero: multiplication by 0, a bitwise AND with 0, and dividing 0 by a number (#12876).
  • noNegatedArrayPredicate — Rewrites !array.some(fn) and !array.every(fn) into a single predicate with the negation moved into the callback (#12841).
  • noNumberArgumentOutOfRange — Detects literal arguments to toString(), toFixed(), toExponential(), and toPrecision() that fall outside the accepted range and would throw a RangeError (#12888).
  • noSharedBranchCode — Finds statements repeated at the start or end of every if branch and moves them outside the conditional (#12889).
  • noSubtractionComparison — Replaces patterns like a - b > 0 with a direct comparison of the two values (#12842).
  • noSvelteIgnoredUnsubscribe — Reports Svelte store subscribe() calls whose return value is discarded, leaving no way to stop the subscription and leaking memory (#12866).
  • noUninvokedArrayCallback — Flags map() and forEach() called on sparse arrays, where the callback never runs, as in new Array(5).map(...) (#12890).
  • useNextScriptForGoogleAnalytics — Part of the next domain: raw <script> tags loading Google Analytics or Tag Manager are reported in favor of GoogleAnalytics and GoogleTagManager from @next/third-parties/google (#12886).

Update with npm install -D @biomejs/[email protected] and enable individual rules through linter.rules.nursery.

Other Versions

We use cookies for ads and analytics.