@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
5 new16 fixed
Release note
The section about @biomejs/biome of a note shared by several packages.
Patch Changes
Added the rule
noVueReservedKeys, which prevents the use of reserved Vue keys.It prevents the use of Vue reserved keys such as those starting with
# @biomejs/biome (like$el,$data,$props) and keys starting with_` in data properties, which can cause conflicts and unexpected behavior in Vue components.
Invalid example
<script>
export default {
data: {
$el: "",
_foo: "bar",
},
};
</script><script>
export default {
computed: {
$data() {
return this.someData;
},
},
};
</script>Valid examples
<script>
export default {
data() {
return {
message: "Hello Vue!",
count: 0,
};
},
};
</script><script>
export default {
computed: {
displayMessage() {
return this.message;
},
},
};
</script>Added
@eslint-react/no-nested-component-definitionsas a rule source fornoNestedComponentDefinitions. Now it will get picked up bybiome migrate --eslint.Fixed a website link for the
useComponentExportOnlyModuleslinter rule to point to the correct URL.Fixed #6910: Biome now ignores type casts and assertions when evaluating numbers for
noMagicNumbersrule.Fixed #6973: Add support for parsing the :active-view-transition-type() pseudo-class
:active-view-transition-type(first second) { }Added a new JSON rule called
noQuickfixBiome, which disallow the use of code actionquickfix.biomeinside code editor settings.Fixed
@vitest/eslint-pluginsource url.Fixed ESLint migration for the rule
prefer-forfromeslint-plugin-solidto Biome'suseForComponent.Fixed #6692: The rules
noUnusedVariablesandnoUnusedFunctionParametersno longer cause an infinite loop when the suggested name is not applicable (e.g. the suggested name is already declared in the scope).Fixed the documentation URL for
lint/correctness/noUnknownPseudoClassFixed #6795:
noUnassignedVariablesnow correctly recognizes variables used in JSXrefattributes.Fixed #6622, now the rule
useSemanticElementsworks for JSX self-closing elements too.Fixed #6516: The
biome migratecommand no longer break the member list with trailing comments.Fixed #6767:
useSortedClassesnow correctly removes leading and trailing whitespace in className.Previously, trailing spaces in className were not fully removed.
// Think we have this code: <div className="text-sm font-bold " /> // Before: applied fix, but a trailing space was preserved <div className="font-bold text-sm " /> // After: applied fix, trailing spaces removed <div className="font-bold text-sm" />
Added the nursery rule
useReactFunctionComponents. This rule enforces the preference to use function components instead of class components.Valid:
function Foo() { return <div>Hello, world!</div>; }Invalid:
class Foo extends React.Component { render() { return <div>Hello, world!</div>; } }Fixed #113, where the Biome Language Server didn't correctly update the diagnostics when the configuration file is modified in the editor. Now the diagnostics are correctly updated every time the configuration file is modified and saved.
Fixed #6915:
useHookAtTopLevelno longer hangs when rules call themselves recursively.Fixed #5837: Invalid suppression comments such as
biome-ignore-all-startorbiome-ignore-all-endno longer causes a panic.Support parse
import defer(which is a stage3 proposal). The syntax look like this:import defer * as foo from "<specifier>";
Fixed #6919 and #6920:
useReadonlyClassPropertiesnow does checks for mutations in async class methods.Example:
class Counter3 { private counter: number; async count() { this.counter = 1; const counterString = `${this.counter++}`; } }Fixed #6939. Biome now understands
thisbinding in classes outside of methods.
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.