Skip to main content

Biome 2.6.9

Release Date: November 24, 2026

Biome 2.6.9 landed on November 24, 2026, and it is the rule release of the 2.6 line. Twenty-eight nursery lint rules arrive in one patch, most of them contributed in a single sweep by the same author, and the parser and linter both get measurable speed work on top. Nursery rules are off by default, so nothing in this update changes your build until you ask it to.

Install it with npm install -D @biomejs/[email protected] and the existing configuration keeps behaving exactly as it did on 2.6.8.

🎯 Rules Rush

The new rules split neatly into groups. The general JavaScript batch is the one most projects will care about.

  • noArrayDelete reports delete applied to an array element, which leaves a hole instead of shortening the array. It needs type information and offers an unsafe fix that rewrites the statement as splice().
  • noImmediateMutation catches a value that is mutated on the very next statement after creation: const a = [1, 2]; a.push(3), or let foo; foo = 1. Write the finished value in one go.
  • noUnsafeSqliteInterpolation reports SQL strings that interpolate values with ${}, or use a tagged template, when passed to exec() or prepare() on a node:sqlite database.
  • noUselessBind flags .bind() on arrow functions and on functions that never read this.
  • noUselessDefaultAssignment uses types to find default parameter values that can never apply, because the incoming type cannot be undefined.
  • noUselessNestedTernary reports nested ternaries that repeat a result from the surrounding expression, where && or || would do.
  • noUselessSetConstruction reports a new Set() created only to feed a set method such as union() or isSubsetOf(), which accept a set or map directly.
  • noCanvasToImage catches canvases converted to an image, or copied pixel by pixel, only to be drawn onto another canvas. Pass the canvas to drawImage().

The test domain gets loud

A full cluster of rules targets Jest and Vitest suites: noExpectToHaveBeenCalledOnce, noReturnInTest, noTestGlobals, noTestHooks, noJasmineGlobals, useExpectEqualityMatcher, useExpectToHaveLength, useExpectToStrictEqual, useDescribeFunctionTitle, and useTopLevelDescribe. Read as a group, they push a codebase toward matchers that print both sides of a failure and toward tests that do not rely on runner globals. Turn them on one at a time in an existing suite, or the first run will be a wall of diagnostics.

The React and Vue batch

Two TanStack Query rules arrive: useTanstackQueryExhaustiveDependencies reports options whose queryKey misses a value that queryFn reads, and useTanstackQueryMutationPropertyOrder requires onMutate before onError and onSettled so the returned context type is available. Vue gets noVueDuplicateVElseIf for repeated or covered conditions in a v-if chain, and noVueNegationElse for a negated condition followed by v-else, with a fix that swaps the branches. noTailwindConflictingClasses reports class lists such as flex grid, where only one declaration can win.

⚡ Parser Push

Every parser picked up a small win, and on large projects biome lint now runs up to 1.7 percent faster. On Linux the gain is different in kind: biome lint, biome check, and biome ci spend less time in the operating system per file, which matters when the file count runs into the tens of thousands.

The bigger change is in GritQL plugin evaluation. Work on files that produce many matches no longer grows quadratically, which fixes the pathological case where one widely matching plugin could stall a run.

There is a tradeoff buried in the notes. Linting with many rules enabled is faster because each thread now holds on to freed memory for reuse, so peak resident memory goes up. CI runners with tight memory limits should watch the first run after upgrading.

🔧 Fixer Finishing

  • The Markdown formatter now uses indentWidth for list item content, matching Prettier's tabWidth behavior. Blockquotes, HTML blocks, and lists inside blockquotes keep their alignment.
  • A Markdown parser hang on blockquote lines containing only spaces after > is fixed.
  • The HTML formatter no longer inserts line breaks between whitespace-sensitive siblings, Svelte blocks, or {@render} tags that touch in the source. Those breaks rendered as visible spaces.
  • Svelte {#snippet} blocks with type parameters, such as {#snippet row<T extends string>(item: T)}, now parse and format instead of panicking the linter.
  • Unsupported <script> and <style> blocks, including Less, SCSS, PostCSS, and CoffeeScript, are left untouched rather than formatted as JavaScript or CSS.
  • noNullishCoalescing stopped reporting inert || undefined when the value comes from a destructured default.
  • noDuplicateSelectors finds duplicates it used to miss, and noDescendingSpecificity no longer reports nested selectors that style different elements.
  • noFloatingPromises now detects unhandled promises returned through generic class methods, and noUnusedClasses resolves SCSS partials loaded with @use, @forward, and @import.
  • The HTML parser no longer panics on a nested CDATA marker, and the JS parser reports a syntax error instead of panicking on a bare import.defer or import.source.
  • .editorconfig character ranges with negative numbers, such as [{-3..3}], now match the files they name.

🧩 Plugin Push

JavaScript plugins gain trivia APIs. leadingTrivia() and trailingTrivia() on nodes and tokens return the whitespace, line breaks, and comments around them, while leadingComments() and trailingComments() on tokens return comments only, each with an isComment() check. Two new nursery rules police plugin code itself: useBiomeKindSets prefers nodeKinds() and tokenKinds() over string comparisons, and useBiomeTopLevelTypes requires those constructors to be declared at the top level rather than inside a function.

⬆️ Upgrade Anthem

Patch release, no breaking changes, one command. My advice: enable noArrayDelete, noImmediateMutation, and noUselessBind today, they are cheap and they catch real bugs; treat the test and Vue groups as a cleanup branch, because they will report hundreds of findings in a mature suite on first contact. Full notes: Biome CLI v2.6.9.

Other Versions

We use cookies for ads and analytics.