@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
7 new11 fixed
Release note
Patch Changes
Fixed #7390, where Biome couldn't apply the correct configuration passed via
--config-path.If you have multiple root configuration files, running any command with
--config-pathwill now apply the chosen configuration file.Added the new rule
noLeakedRender. This rule helps prevent potential leaks when rendering components that use binary expressions or ternaries.For example, the following code triggers the rule because the component would render
0:const Component = () => { const count = 0; return <div>{count && <span>Count: {count}</span>}</div>; };Added the nursery rule
noDuplicatedSpreadProps. Disallow JSX prop spreading the same identifier multiple times.Invalid:
<div {...props} something="else" {...props} />Fixed a bug where logs were discarded (the kind from
--log-level=infoetc.). This is a regression introduced after an internal refactor that wasn't adequately tested.Fixed #8222: The HTML parser, with Vue directives enabled, can now parse
v-slotshorthand syntax, e.g.<template #foo>.Added support for dollar-sign-prefixed filenames in the
useFilenamingConventionrule.Biome now allows filenames starting with the dollar-sign (e.g.
$postId.tsx) by default to support naming conventions used by frameworks such as TanStack Start for file-based-routing.Added the
noMultiStrrule, which disallows creating multiline strings by escaping newlines.Invalid:
const foo = "Line 1\n\ Line 2";
Valid:
const foo = "Line 1\nLine 2"; const bar = `Line 1 Line 2`;
Fixed #7806: Prefer breaking after the assignment operator for conditional types with generic parameters to match Prettier.
-type True = unknown extends Type< - "many", - "generic", - "parameters", - "one", - "two", - "three" -> - ? true - : false; +type True = + unknown extends Type<"many", "generic", "parameters", "one", "two", "three"> + ? true + : false;
Fixed #6569: Allow files to export from themselves with
noImportCycles.This means the following is now allowed:
// example.js export function example() { return 1; } // Re-exports all named exports from the current module under a single namespace // and then imports the namespace from the current module. // Allows for encapsulating functions/variables into a namespace instead // of using a static class. export * as Example from "./example.js"; import { Example } from "./example.js";Added the
noEqualsToNullrule, which enforces the use of===and!==for comparison withnullinstead of==or!=.Invalid:
foo == null; foo != null;
Valid:
foo === null; foo !== null;
Fixed #8190: The HTML parser will now parse Vue event handlers that contain
:correctly, e.g.@update:modelValue="onUpdate".Fixed #8254: The
noParameterAssignrule withpropertyAssignment: "deny"was incorrectly reporting an error when a function parameter was used on the right-hand side of an assignment to a local variable's property.The rule should only flag assignments that modify the parameter binding or its properties (L-value), not the use of its value.
Valid:
(input) => { const local = { property: 0 }; local.property = input; };Added the nursery rule
noTernary. Disallow ternary operators.Invalid:
const foo = isBar ? baz : qux;
Fixed #8145: handling of large hex literals, which previously caused both false positives and false negatives.
This affects
noPrecisionLossandnoConstantMathMinMaxClamp.Corrected rule source reference.
biome migrate eslintshould do a bit better detecting rules in your eslint configurations.Fixed #8209: Recognized formatting capability when either range or on-type formatting is supported, not only full-file formatting. This ensures editors and the language server correctly detect formatting support in files like JSONC.
Fixed #8079: Properly handle
nameandvaluemetavariables forJsxAttributeGritQL queries.The following
biome searchcommand no longer throws an error:biome search 'JsxAttribute($name, $value) as $attr where { $name <: "style" }'Added the
noProtorule, which disallows the use of the__proto__property for getting or setting the prototype of an object.Invalid:
obj.__proto__ = a; const b = obj.__proto__;
Valid:
const a = Object.getPrototypeOf(obj); Object.setPrototypeOf(obj, b);
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.