@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
2 new14 fixed
Release note
Patch Changes
Fixed a performance regression in
noMisusedPromisesthat caused type inference to run repeatedly while linting a file.Fixed CSS formatting for multiline function arguments preceded by comments:
.example { value: outer( 1, /* comment */ nested( - first, - second - ) + first, + second + ) ); }Fixed #9195:
useHookAtTopLevelno longer reports hooks in namedforwardRefcomponents that receive arefparameter.Fixed #10131: Biome now correctly parses curried arrow functions in ternary consequents when the inner arrow's parameters use a destructuring pattern, e.g.
cond ? (x) => ({ a, b }) => body : alt.Fixed #11092: The
noUselessTernaryquick fix now preserves operator spacing when simplifying or inverting boolean ternary expressions.Fixed #10515:
biome check --writewas not idempotent on Svelte files — multi-line template literals in<script>blocks and block comments in<style>blocks gained an extra indent level on every run.Fixed an issue where the HTML formatter would duplicate a comment placed directly before a Svelte
{@const ...}or{@debug ...}block. The duplication compounded on every subsequent--write, causing the file to grow exponentially.Fixed #10839: Svelte
{#each}array destructuring no longer includes spaces inside square brackets, and multiline bind function expressions now indent their getter, setter, and function body correctly.Improved the accuracy of type-aware lint rules by resolving more inferred types. For example,
noFloatingPromisesnow detects floating Promises returned by aliased callbacks and arrays of Promises created by async mapping callbacks.The following statements are now reported:
type AsyncCallback = () => Promise<void>; declare const callback: AsyncCallback; callback(); [1, 2, 3].map(async (value) => value);
Fixed false positives in
noMisleadingReturnTypewhen generic-constraint, normalization, substitution, or structural return-type comparison cannot complete. The rule now suppresses diagnostics rather than suggesting a return type derived from partial information. For example, this unresolved return type is no longer reported:function unresolvedReturnType(): MissingType { return "value" as const; }The HTML parser now accepts mixed-case
doctypedeclarations.The
rdjsonreporter now populates the severity field of each diagnostic (ERROR,WARNING, orINFO), so tools consuming Reviewdog Diagnostic Format output no longer need to assume a default severity.Fixed a performance regression in type-aware JavaScript lint rules by inferring only requested types and memoizing export resolution.
Added support for Svelte declaration tags using
letandconst. Biome can now parse, format, and lint bindings declared in these tags.Improved the performance of Biome formatter up to ~7% across the board.
Added the nursery rule
noJsRestrictedProperties, which ports ESLint'sno-restricted-propertiesrule. Biome now flags restricted member access and object destructuring, andbiome migrate eslintpreserves the rule's options.
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.