@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
1 new13 fixed
Release note
Patch Changes
Fixed an issue where diagnostics showed an incorrect location in Astro files.
Fixed HTML formatting for a case where comments could cause the formatter to split up a closing tag, which would cause the resulting HTML to be syntactically invalid.
Input:
<span ><!-- 1 --><span>a</span ><!-- 2 --><span>b</span ><!-- 3 --></span>
Output:
<span ><!-- 1 - --> <span>a</span<!-- 2 - --> ><span>b</span><!-- 3 + --><span>a</span><!-- 2 + --><span>b</span><!-- 3 --></span >Fixed diagnostics emitted by the
noUntrustedLicensesrule.Fixed #10356:
biome rage --linternow displays rules enabled through linter domains in the enabled rules list.Fixed #10265: Svelte function bindings such as
bind:value={get, set}are now parsed more precisely, sonoCommaOperatorwon't emit false positives for that syntax anymore.Fixed #8480:
useDestructuringnow providesvariableDeclaratorandassignmentExpressionoptions to control which contexts enforce destructuring, matching ESLint'sprefer-destructuringconfiguration. Both default to{array: true, object: true}. The diagnostic for object destructuring in assignment expressions now instructs users to wrap the assignment in parentheses.Fixed #10244: The
useOptionalChainrule now detects negated guard inequality chains like!foo || foo.bar !== "x".Fixed #10411:
noMisusedPromisesno longer causes a stack overflow when a nested function returns an object with shorthand properties that shadow destructured variables from an outer scope.Added support for
formatter.trailingCommasin overrides. This option was previously available in the top-level formatter configuration but missing from formatter overrides.Fixed Vue and Svelte formatting for standalone interpolations in inline elements. Biome now preserves existing newlines in cases like:
- <span> {{ value }} </span> + <span> + {{ value }} + </span>Fixed #10361:
noUnusedFunctionParametersnow mentions the parameter name in the diagnostic.Fixed CSS and SCSS formatting for comments around declaration colons so comments between property names, colons, and values stay at the same boundary as Prettier.
.selector { - color: /* red, */ - blue; + color: /* red, */ blue; }Fixed
#10123: Corrected thenoReactNativeDeepImportssource rule to point to the proper upstream rule, so users can migrate from the original rule correctly.Fixed #10309: Biome no longer adds newlines to Astro frontmatter when linter or assist
--writemode is enabled.
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.