Skip to main content

Biome 2.6.8

Release Date: November 15, 2026

Verdict first: Biome 2.6.8 is a patch release with an unusually large rule payload. Twenty-four lint rules arrive in the nursery, most of them Vue and YAML specific, plus a type inference improvement that makes existing type-aware rules agree with TypeScript more often. Nothing here breaks a build by default, so the upgrade is cheap. The question is whether you want to enable half a dozen Vue rules that will light up a legacy codebase.

I ran the release against two projects: a Vue 3 admin panel with about 90 components, and a Node service with a Jest suite. Total install time was under a minute, and neither project needed a configuration change for the existing rule set to keep passing.

What Actually Landed

Node and general JavaScript rules

  • noBufferConstructor flags the deprecated Buffer() and new Buffer() forms and points at Buffer.from(), Buffer.alloc(), and Buffer.allocUnsafe().
  • noConfusingArraySplice catches splice() and toSpliced() calls that replace exactly one element or insert at index -1, the two shapes where a plain index assignment was almost certainly intended.
  • noDynamicRequire reports require() with a module name built at runtime, and also checks import() when checkDynamicImports is enabled.
  • noLateCurrentTargetAccess reports reads of event.currentTarget after an await, where the browser has already finished handling the event and the value is null.
  • noTripleSlashReference reports /// <reference path> and /// <reference types> comments, with lib, path, and types options to allow the kinds you still need.
  • useTopLevelRequire reports require() calls that sit inside a function or block.
  • useValidNamespaceImports reports names read from a namespace import that the module does not actually export.

The rules that need type information

Two additions rely on Biome's own inference rather than on the TypeScript compiler. noMisusedSpread reports spreads that produce a result nobody expects: a string spread into an array or an argument list, and promises, functions, maps, arrays, class instances, or classes spread into objects and JSX attributes. noDrizzleDbObjectInsideTransaction flags use of the shared Drizzle database object inside a transaction callback, where the transaction handle should be used instead.

Vue, YAML, and Tailwind

The Vue batch is the biggest single group: noVueAsyncComputed rejects async functions, await, promises, setTimeout(), and nextTick() inside computed properties; noVueDefineModelDefault rejects the default option in defineModel(), because a parent passing undefined through v-model leaves the two components showing different values; noVueDeprecatedFilter reports the filter syntax Vue 3 removed; noVueDeprecatedVIs reports the v-is directive; noVueExportInScriptSetup rejects export inside <script setup>. Two style rules round it out: useVueConsistentVOnHandlerStyle and useVueRegisteredComponentNameCasing.

YAML gets three emptiness checks, noYamlEmptyMapKeys, noYamlEmptyMapValues, and noYamlEmptySequenceEntries. Tailwind gets noTailwindRestrictedClasses for JavaScript and HTML, backed by the existing design token configuration.

Test rules and package metadata

Four rules target test files: useCalledWith reports bare toHaveBeenCalled() and toBeCalled() where arguments should be asserted, useExpectToHaveBeenCalled reports hand-rolled comparisons against mock.calls, useExpectToHaveBeenCalledTimes does the same for call counts, and useSpyOn reports properties overwritten directly with jest.fn() or vi.fn(). usePackageJsonValidLicense validates the license field of package.json.

Where the Real Value Is

The rule list is the headline, but the inference work is what changes day-to-day results. Biome now narrows untyped local let and const variables and parameters after typeof, equality, nullish, and truthiness checks, which means type-aware rules fire on ordinary JavaScript, not just annotated TypeScript. It also evaluates conditional types of the form T extends U ? X : Y, including infer and distribution over unions, instead of giving up on them.

Performance moved too: linting files that carry no suppression comments is up to 61 percent faster, and JavaScript and HTML linting with Tailwind rules enabled is measurably quicker. With 90 Vue components the difference was not dramatic in wall clock terms, but it was consistent across runs.

Fixes Worth Knowing

  • The HTML formatter no longer prints a comment twice when it ends the opening tag of an element, and no longer deletes comments that follow a Svelte block delimiter.
  • biome lint --suppress now writes suppression comments for diagnostics produced by plugins.
  • noUnresolvedImports stopped reporting names that a module re-exports from CommonJS.
  • Type-aware rules now select the correct overload of a method declared several times with different signatures.
  • noUnsafePlusOperands no longer treats the negation of a bigint as a number.
  • useMathMinMax, useNullishCoalescing, useArrowFunction, useThisInClassMethods, and noUselessThisAlias all received fix or report corrections.
  • Vue noVueDuplicateKeys now inspects properties returned by a setup() method, and the emit rules understand events declared with a function type in defineEmits.

Should You Upgrade

Yes, and without ceremony. Nursery rules are off by default, so the upgrade changes nothing until you opt in. My advice: turn on noBufferConstructor, noDynamicRequire, and noMisusedSpread immediately, they found four real issues across the two projects. Leave the Vue style rules for a dedicated cleanup branch, because useVueConsistentVOnHandlerStyle alone produced a long list on the admin panel.

Upgrade with npm install -D @biomejs/[email protected]. Full notes: Biome CLI v2.6.8.

Other Versions

We use cookies for ads and analytics.