Skip to main content

Biome 2.6.7

Release Date: November 11, 2026

Biome 2.6.7 dropped on November 11, 2026, and it is the rule heaviest patch release of the 2.6 line. Nineteen new nursery rules, a handful of parser repairs, and a few formatter fixes that people have been filing for months. Everything stays opt in.

โšก Rule Rush

The headline is lint coverage. Nineteen nursery rules landed in one patch, which is unusual even for Biome's recent pace, and they cluster into four themes.

Promise and async correctness. noAsyncPromiseFinally catches an async function passed to .finally(), where a rejection replaces the original result. useAtomicUpdates flags total += await getAmount() style writes that can act on a stale value after the await. noUselessParameterPropertyAssignment and the spread rules below clean up the same class of stale state in constructor and collection code.

TypeScript redundancy. noDuplicateTypeConstituents reports string | number | string and the pointless | undefined on an optional parameter. noRedundantTypeConstituents catches a literal sitting next to its own primitive, or never inside a union. useConsistentTupleLabels wants every element of a tuple labeled, or none.

Runtime landmines. noInvalidFetchOptions reports a body on a GET or HEAD request. useGlobalRegexInMatchAll and useGlobalRegexInReplaceAll both report a missing g flag, which throws a TypeError at runtime. useValidCharacterComparison reports comparisons like text.charAt(0) === "ab", which are always false.

Dead weight. noNewArray reports new Array(n) single argument calls. noUselessSpread trims spreads that do nothing. noUselessFallbackInSpread drops { ...(options || {}) }. noUselessParameterPropertyAssignment removes the redundant this.name = name inside a TypeScript constructor that already declares the parameter property.

Framework and CSS coverage grew too. noSvelteAsyncStore blocks async functions passed to writable, readable and derived. noVueExposeAfterAwait catches defineExpose() called after an await in setup code. noExcessiveSelectorComplexity caps IDs, type and attribute selectors, pseudo classes and combinators in a single CSS selector, and useConsistentFontWeightNotation normalizes bold against 700 with a safe fix. Two project aware rules round it out: noUnresolvedDefaultImport and useConsistentBooleanName.

๐Ÿ› Bug Bashes

  • Astro templates. Template expressions containing comments now parse correctly, tracked upstream in the compiler issue withastro/compiler-rs#221 (#13085).
  • CSS property sorting. Consecutive property groups are sorted independently, so the organizer no longer reorders across a comment or a boundary it should respect (#12621).
  • CSS parser. A non identifier value in composes no longer panics (#13033), and digit led hash names inside raw custom property values lex correctly (#12805).
  • Markdown formatter. A blank line is kept after a blockquote that ends a list item (#12999), and table rows inside blockquotes stay aligned (#13035).
  • noUndeclaredDependencies resolves TypeScript path aliases, which removes false reports in monorepos that lean on paths (#13056).
  • Dependencies. Advisories are cleared across the tree, with Rust crates jiff, notify and smallvec bumped as part of the same sweep.

๐Ÿงน Housekeeping

The JS plugin API lost its semantic() query function (#13066), so plugin authors that reached for it need to move to the node based navigation APIs that the team ported from upstream Rowan (#13050, #13051). If your plugin only walks the AST through the documented visitors, nothing changes.

โฌ†๏ธ Upgrade Notes

Every rule above is in the nursery group and stays off until you enable it, so the upgrade itself is quiet. Run npm install --save-dev --save-exact @biomejs/[email protected] or npx @biomejs/biome upgrade, then add rules one at a time and let the diagnostics settle before enabling the next batch. Pulling all nineteen on at once will drown a mid sized codebase in reports, and half of them overlap with rules you probably already trust.

Other Versions

We use cookies for ads and analytics.