@biomejs/biome
2.6.8 · 15 Nov 2026MIT OR Apache-2.030.3M / weekRepositoryHomepagenpmAtom feed
2.6.9 is the newest release of 2.x.
In short
3 new15 fixed
Release note
Patch Changes
Fixed #9463: the "Biome found a configuration file outside of the current working directory" diagnostic now includes the configuration file path and the working directory, giving users actionable information to debug the issue.
Fixed #8959: Fixed TypeScript arrow function formatting when a comment appears after
=>.Added the rule
noDrizzleUpdateWithoutWhereto prevent accidental full-table updates when using Drizzle ORM without a.where()clause.Fixed #9187: Astro frontmatter containing regex literals with quotes (
/'/,/"/) or dashes (/---/) no longer causes parse errors.Fixed #9524: remove extra space before
>whenbracketSameLineis true and the self-closing slash is absent in HTML formatter.Fixed #9238: The HTML parser no longer incorrectly reports
---inside element content (e.g.<td>---</td>) as an "Unexpected value or character" error.Fixed #9117:
biome check --writeno longer falsely reports Svelte and Vue files as changed whenhtml.formatter.indentScriptAndStyleis enabled and the files are already correctly formatted.Fixed #9341: Fixed an LSP crash that could corrupt file content when saving with format-on-save enabled.
Fixed #9279: The rule
noSubstrnow detects.substr()and.substring()calls in all expression contexts, including variable declarations, function arguments, return statements, and arrow function bodies.Fixed #9370: The resolver now correctly prioritizes more specific
exportspatterns over less specific ones. Previously, a pattern like"./*"could match before"./features/*", causing resolution failures for packages with overlapping subpath patterns.Fixed #9506 and #9479: Biome no longer reports false parse errors on
<script type="speculationrules">and<script type="application/ld+json">tags. These script types contain non-JavaScript content and are now correctly skipped by the embedded language detector.Fixed #6964: Biome now correctly resolves the
.gitignorefile relative tovcs.rootwhen configured. Previously, thevcs.rootsetting was ignored and Biome always looked for the ignore file in the workspace directory.Fixed #9483. Now the rule
noRedeclaredoesn't panic when it encounters constructor overloads.Added support for modern CSS properties, pseudo-classes, and pseudo-elements.
New known properties:
dynamic-range-limit,overlay,reading-flow,reading-order,scroll-marker-group,scroll-target-group.New pseudo-elements:
::checkmark,::column,::picker,::picker-icon,::scroll-button,::scroll-marker,::scroll-marker-group.New pseudo-classes:
:active-view-transition-type,:has-slotted,:target-after,:target-before,:target-current.Fixed #9358 and #9375. Now attributes that have text expressions such as
class={buttonClass()}are correctly tracked in Svelte files.Fixed #9519. Now
noUnusedVariablesdoesn't flag variables that are used astypeoftype.Fixed #9477:
source.fixAll.biomeno longer sorts imports whensource.organizeImports.biomeis disabled in editor settings. The organize imports action is now excluded from the fix-all pass unless explicitly requested.Added the rule
noDrizzleDeleteWithoutWhereto prevent accidental full-table deletes when using Drizzle ORM without a.where()clause.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.