npm / @biomejs/biome
@biomejs/biome
What changed in @biomejs/biome 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-04.
141 breaking10 security1 deprecations508 new APIs and options64 performance191 behavior and defaults177 tooling733 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@biomejs/biome 21825 changes
Breaking changes 141
Biome now reports an error when a GritQL plugin file name contains invalid characters that could conflict with Biome suppressions.
Biome now reports an error when configured plugins are unavailable during analysis instead of silently skipping them.
Removes the semantic() query function from the JavaScript plugin API; pass { semantic: true } to ast() instead to provide the semantic model.
Removes the semantic() query function from the JavaScript plugin API.
The formatter now adds a blank line between a top-level paragraph and a directly following header, fenced code block, list, or blockquote, matching Prettier.
Plugins that throw or fail to run now report an error diagnostic instead of an info diagnostic, causing biome lint and biome check to exit with a non-zero code.
Comma-separated multi-value declarations are now printed one value per line, matching the CSS formatter and Prettier.
Array literals without as const are now inferred as arrays, as TypeScript does, rather than tuples; this enables useArraySortCompare to report sort() and toSorted() calls on unannotated arrays.
The npm-installed command now exits non-zero when the Biome binary is killed by a signal instead of reporting success.
Migrating a Prettier configuration that omits semi and singleQuote now uses Prettier's defaults: semicolons always and double quotes.
The summary and JSON reporters' matches field now count every match rather than the number of searched files.
In GritQL plugins and biome search, contains followed by further conditions tries every matching node rather than stopping at the first.
The formatter formats JavaScript inside quoted Vue directive values and writes these values with double quotes and their strings with single quotes.
Removed this ineffective internal-use option; configurations containing it now receive an unknown-key error and must remove it.
For loops with truthy literal tests are handled as infinite loops, consistent with while and do...while loops.
Rules from the project and types domains enabled in an override now run for files matched by that override.
Plugin include globs now match file paths relative to the configuration file, like files.includes and overrides[].includes; absolute project-path patterns must be rewritten.
Automatic enabling now requires tailwindcss v4 or later in package.json instead of v3 or later; the domain can still be enabled manually.
Uses Tailwind CSS v4 class order and top-level tailwind configuration; the rule's own attributes and functions options were removed and migrated to tailwind configuration. It now belongs to the project domain and scans the project when enabled.
The CLI now emits an error when the configuration has errors.
Configuration file errors are no longer silently ignored and are checked before any command executes.
Now reports mismatched closing tags and top-level closing tags without openings; tag names are matched case-insensitively.
The rule now reports directives inside Astro template expressions.
Reports React Compiler diagnostics regardless of the React version declared in package.json.
Removes special HTML formatter handling for the obsolete listing element.
Combining readonly and accessor modifiers in either order now reports that they cannot be used together.
Biome now reports HTML comments between Svelte tag attributes as parse errors.
Braces inside Astro
<math>elements no longer open expressions, so LaTeX such asR^{2x}survives as text;<svg>is unaffected.HTML
styleattribute values are parsed as CSS, and all Biome CSS lint rules are applied to them.Detects Promise-returning callbacks passed where synchronous callbacks are expected across tuple spreads, rest parameters, constructor signatures, overloads, and generic cases.
The rule now reports computed bracket member access as well as static access to process.env.
The rule now reports unsafe optional chains wrapped in TypeScript as, satisfies, type assertion, and instantiation expressions.
The CSS parser now gates SCSS syntax in CSS.
Avoids a false positive for widening type assertions such as "a" as string, and reports literal-pinning assertions such as false as false.
Biome now throws an error when the
levelfield is missing from a rule option.Adds recommended, all, and none presets for enabling or disabling rules; nursery rules must still be enabled individually.
Promoted the rule from nursery to the correctness group.
The reporter now emits code replacement text for fix suggestions instead of the human-readable fix description.
Now flags union annotations with variants that are never returned and suggests a narrower type.
The rule now flags new Function() usages as a form of indirect eval and includes no-new-func as a rule source.
Enforced assist violations are no longer filtered out before promotion to errors, so biome check no longer incorrectly returns success with --diagnostic-level=error.
Enabling a whole rule group no longer enables React- or Qwik-specific rules unless the domain, an explicit rule, or a dependency enables them.
Fix-all no longer sorts imports when
source.organizeImports.biomeis disabled; organize imports is excluded unless explicitly requested.Reports index usage anywhere in JSX
keytemplate or binary expressions, rather than only in the last visited identifier.Consolidated into noSkippedTests.
Now detects Playwright patterns including .fixme, test.describe, test.step, bracket notation, and bare calls; noPlaywrightSkippedTest is consolidated into this rule.
The formatter now breaks a block-like element with more than two children when at least one child is another block-like element.
Promoted from nursery to the correctness group with default severity error.
Promoted from nursery to the correctness group with default severity error.
Promoted from nursery to the correctness group with default severity error.
Promoted from nursery to the correctness group with default severity error.
Promoted from nursery to the correctness group with default severity error.
Promoted from nursery to the complexity group with default severity warn.
Promoted from nursery to the correctness group with default severity error.
Promoted from nursery to the correctness group with default severity error.
Replaces the GraphQL nursery rule
useUniqueArgumentNames; runbiome migrate --writeto update the configuration file.Replaces the GraphQL nursery rule
useUniqueFieldDefinitionNames; runbiome migrate --writeto update the configuration file.Replaces the GraphQL nursery rule
useUniqueGraphqlOperationName; runbiome migrate --writeto update the configuration file.Replaces the GraphQL nursery rule
useUniqueInputFieldNames; runbiome migrate --writeto update the configuration file.Replaces the GraphQL nursery rule
useUniqueVariableNames; runbiome migrate --writeto update the configuration file.Adds the
requireCatchParameteroption, defaulting totrue, to require a parameter on catch clauses.The parser now flags invalid shorthand syntax instead of silently accepting it, including a space after the colon.
Updates the default value of ignoreRestSiblings.
The rule now flags empty strings such as v-html="".
Counts private members as used only when they are meaningfully read; pure writes without a read no longer count as usage.
This option no longer indents Astro frontmatter.
The JUnit reporter now returns one-based locations instead of zero-based locations.
Installed dependencies no longer automatically enable every rule in a domain; rules are enabled automatically only if recommended.
This lint rule was removed because its use case is covered by useValidAnchor.
This lint rule was promoted to the correctness group.
This lint rule was promoted to the correctness group.
The linter's all option is removed, so it can no longer enable all rules or all rules in a group.
The CLI option was removed; use --write instead.
The CLI option was removed; use --write --unsafe instead.
The option no longer accepts AsNeeded and Always.
The import assertion syntax is no longer supported and is replaced by the with syntax.
Import organizer configuration moved from organizeImports to an assist action; the new organizer also sorts and organizes imports and exports differently.
The option no longer accepts Single and Multiline.
Suppression comments now use a slash after lint instead of parentheses around the group and rule.
Requires every biome-ignore-start suppression to have an equivalent biome-ignore-end comment.
This environment variable is no longer supported; use BIOME_LOG_PATH instead.
The --config-path argument is no longer accepted by this command.
Biome now returns an error if --stdin-file-path does not have an extension.
The glob wildcard * no longer matches path separators.
Removed from biome lsp-proxy and biome start because it could cause configuration mismatches across workspaces.
Paths and globs declared in configuration are relative to the configuration file rather than the working directory.
The formatter no longer inserts a trailing comma inside dynamic import expressions.
A glob-pattern array replaces include and ignore, supports negated patterns and ordered exceptions, and uses updated glob semantics.
Biome no longer prepends **/ to user-provided globs, so patterns match a narrower set of paths.
The ignore and include configuration fields are removed and replaced by includes.
The ignore field was removed in favor of negated patterns in includes.
The new organizer supports custom sorting, organizes export statements, ignores blank lines between imports, merges import/export, and changes default sorting.
The include field was removed in favor of includes.
The deprecated configuration option and its related CLI options were removed; use indentWidth instead.
Renames --javascript-attribute-position for consistency.
Formatting now preserves a newline before a semicolon in the previous statement; with
asNeeded, the example is considered already formatted.Set expand to auto in an override for package.json to restore the previous formatting style.
JSON formatting no longer adds a trailing comma even when trailingCommas is true.
Files exceeding the configured size limit are now ignored with an information diagnostic rather than an error that causes a nonzero CLI exit.
The legacy suppression comment format is no longer supported.
Several lint rules moved to different groups, and nursery rules promoted to stable groups; migrate can update promoted nursery rules.
Default severity levels now reflect diagnostic severity: hard errors and dangerous or accessibility issues are errors, possible issues are warnings, and stylistic suggestions are info.
The rule-group all option was removed.
Support for max_line_length in .editorconfig was removed.
Uses the highest severity among equivalent ESLint rules when setting a migrated Biome rule's severity.
This deprecated lint rule has been deleted.
The rule now checks only regular expression literals, not dynamically built regular expressions.
Renamed from noDuplicatedFields; run
biome migrateto update your configuration.Its code fix is now unsafe; configure the rule fix as safe to keep applying it automatically as a safe fix.
This deprecated lint rule has been deleted.
The rule was renamed to noAdjacentSpacesInRegex.
This deprecated lint rule has been deleted.
The rule was renamed to noUselessContinue.
Its code fix is now unsafe; configure the rule fix as safe to keep applying it automatically as a safe fix.
The rule no longer reports unused function parameters; use noUnusedFunctionParameters instead.
Objects and arrays in package.json are always formatted on multiple lines, regardless of their width.
This code action was removed in favor of inline and top-level suppression code actions.
The option no longer accepts AsNeeded and Preserve.
The option no longer accepts Single and Double.
The Rome environment variable is no longer supported; use BIOME_BINARY instead.
The Rome suppression comment is no longer supported; use biome-ignore instead.
Rome-related features are no longer supported; rename rome.json to biome.json.
The option no longer accepts AsNeeded and Always.
The option was renamed to --skip-parse-errors.
JSON and JavaScript formatting now matches Prettier 3.4 by no longer unescaping useless escape sequences.
The summary reporter no longer takes --max-diagnostics into account.
The option no longer accepts ES5, All, and None.
The configuration and CLI option trailingComma was removed; use trailingCommas.
The lexer now reports errors for unterminated regex and string literals.
Now reports Array constructor expressions in all contexts, not only expression statements.
The rule now reports a diagnostic when the dependency list is not an array literal and provides an unsafe fix for extra dependencies.
The rule now reports missing keys inside switch and if statements and is part of the React domain.
More closely matches the ESLint plugin by marking a whole fragment incorrect when it lacks a key; shorthand fragments can also be checked.
The enumMemberCase option was removed; use conventions to configure enum member naming.
Non-ASCII names are rejected by default; set requireAscii to false to allow them.
This deprecated lint rule has been deleted.
This deprecated lint rule has been deleted.
Upgrading the extension may require a complete editor restart to avoid incorrect code upon save when source.fixAll.biome is explicit.
The package now requires v2 of the WebAssembly packages.
Plugins should use the workspace/configuration response instead of passing --config-path.
The new version of the Zed extension is not compatible with Biome v1 because --config-path is no longer supported.
Security 10
Restricts access to the Unix daemon socket to the Biome user; it is stored in a user-accessible cache directory and uses mode 0600.
Unix daemon socket permissions are now restricted.
Biome reports a diagnostic for excessively deep syntax instead of overflowing the native stack while releasing the parsed tree.
A new nursery rule disallows Astro's set:html directive because untrusted content can introduce cross-site scripting vulnerabilities.
The language server's synchronisation logic was improved.
Adds a rule to prevent accidental full-table deletes when using Drizzle ORM without a
.where()clause.Adds a rule to prevent accidental full-table updates when using Drizzle ORM without a
.where()clause.Added a Turborepo rule that warns about unsafe environment variable usage.
Added a Turborepo domain for rules concerning unsafe environment variable usage in Turborepos.
The rule accepts rel="noopener" as well as rel="noreferrer", adds an option to disable rel="noreferrer", and moves from a11y to security.
Deprecations 1
This option is deprecated in favor of force-ignore patterns in files.includes; it continues to work but emits a deprecation warning, and biome migrate --write can update the configuration.
New APIs and options 508
Adds foundations for flow-sensitive type narrowing.
Adds a lint rule for Buffer constructor usage.
Adds a lint rule for confusing uses of
Array.splice.Adds a lint rule for dynamic
requirecalls.Adds a lint rule for late access to
currentTarget.Adds a lint rule for misused spread syntax.
Adds a lint rule for restricted Tailwind classes.
Adds a lint rule for triple-slash references.
Adds a lint rule for asynchronous Vue computed properties.
Adds a lint rule for Vue
defineModeldefaults.Adds a lint rule for deprecated Vue filters.
Adds a lint rule for exports in Vue
<script setup>.Adds a lint rule for empty YAML map keys.
Adds a lint rule for empty YAML map values.
Adds a lint rule for empty YAML sequence entries.
Adds a lint rule for called-with assertions.
Adds a lint rule for
toHaveBeenCalledexpectations.Adds a lint rule for
toHaveBeenCalledTimesexpectations.Adds a lint rule that checks package.json license validity.
Adds a lint rule for spy creation.
Adds a lint rule for top-level
requirecalls.Adds a lint rule for valid namespace imports.
Adds a lint rule for consistent Vue
v-onhandler style.Adds a lint rule for casing registered Vue component names.
JavaScript plugins can use GritQL patterns to select nodes passed to run() instead of listing syntax kinds with ast(); semantic models are also supported.
JavaScript plugins can now use GritQL queries.
Adds the noAsyncPromiseFinally lint rule.
Adds a nursery rule warning when form controls use the native disabled attribute, suggesting aria-disabled or readonly because disabled controls cannot be reached with Tab.
Adds the noDuplicateTypeConstituents lint rule.
Adds a nursery rule to limit CSS selector complexity and disallow selected selector features; it does nothing until an option is set.
Adds the noExcessiveSelectorComplexity lint rule.
Adds the noRedundantTypeConstituents lint rule.
Adds a nursery rule reporting comparisons to null in Sass @if and @else if conditions, because null already counts as false.
Adds a nursery rule in the project domain that reports default imports from modules without a default export.
Adds a nursery rule requiring a specific name for caught errors in try...catch and promise error handlers; the name defaults to error and can be changed with the name option.
Adds a nursery rule requiring boolean variables, parameters, and functions to use prefixes such as is or has, and reporting prefixed names that are not boolean.
Adds the useConsistentBooleanName lint rule.
Adds a nursery rule enforcing numeric or keyword font-weight notation where possible, with a safe fix between normal/bold and 400/700.
Adds the useGlobalRegexInReplaceAll lint rule.
Adds a nursery rule that reports comparisons between a single character and a multi-character string, which are always true or false.
Adds the useValidCharacterComparison lint rule.
Added an optimized JavaScript plugin traversal API that finds nodes whose kinds are in a nodeKinds() set.
Added the noExcessiveNestedBlocks lint rule.
Added the noPseudoElementInFunctionalPseudoClass lint rule.
Added the noSvelteBindValueOnCheckableInputs lint rule.
Added the noUselessLengthCheck lint rule.
Added the noVueDeprecatedConfigKeyCodes lint rule.
Added the noVueMixin lint rule.
Added the noVueUselessTemplateAttributes lint rule.
Added the noVueUselessVBind lint rule.
Added the noVueVForTemplateKeyOnChild lint rule.
Added the useTailwindVariablesShorthand lint rule.
Added the useVueConsistentDefineEmitsDeclaration lint rule.
Added the useVueConsistentPropNameCasing lint rule.
Added the useVueConsistentVForDelimiter lint rule.
Added the useVueConsistentVSlotStyle lint rule.
Added the useVueDefaultExport lint rule.
Added the useVueEmitsValidatorReturn lint rule.
Added the useVueMacroVariableName lint rule.
Added the useVueOneComponentPerFile lint rule.
Added the useVueSeparateStaticClass lint rule.
Added the useVueSlotNameCasing lint rule.
Added the useVueTrueAttributeShorthand lint rule.
Adds the noConsoleSpaces lint rule.
Adds the noMagicArrayFlatDepth lint rule.
Adds the noNull lint rule.
Adds the noReturnArrayPush lint rule.
Adds the noUnreadableIife lint rule.
Adds the noUselessRecursion lint rule.
Adds the noVueComputedPropertiesInData lint rule.
Adds the noVueDeprecatedDeleteSet lint rule.
Adds the noVueDeprecatedListeners lint rule.
Adds the noVueDeprecatedRouterLinkTagProp lint rule.
Adds the noVueDeprecatedScopeAttribute lint rule.
Adds the noVueMultipleSlotArgs lint rule.
Adds the noVueMutatingProps lint rule.
Adds the noVueSideEffectsInComputed lint rule.
New nursery rule reports unread template refs; it requires html.experimentalFullSupportEnabled to be true.
Adds the noYamlBooleanKeys lint rule.
Adds the useSvelteEventDispatcherTypes lint rule.
Adds the useVueDefineOptions lint rule.
Adds the useVueDefinePropsDestructuring lint rule.
Adds the useVueTemplateRef lint rule.
Adds the useVueTypedProps lint rule.
Adds the useVueValidDefineEmits lint rule.
Adds the useVueValidDefineProps lint rule.
Adds the useVueValidVIs lint rule.
Adds the useVueValidVMemo lint rule.
Adds the useVueValidVModel lint rule.
Adds the useVueValidVShow lint rule.
Adds the useVueValidVSlot lint rule.
Adds the useVueVModel lint rule.
Adds the useWhileLoopCondition lint rule.
Adds the noArraySortForMinMax lint rule.
Adds a nursery rule that reports sort comparators returning a boolean instead of a number.
Adds the noDanglingUnderscore lint rule.
Adds a nursery rule that reports .map() and .filter() calls in for...of loop headers when the created array is only used by the loop.
Adds a nursery rule disallowing calling require with new.
Adds a nursery rule disallowing obsolete attributes on HTML elements and suggesting replacements.
Adds a nursery rule disallowing file paths and URLs built by joining strings to path and URL globals.
Adds a nursery rule disallowing positional Playwright element selection with first(), last(), and nth().
Adds a nursery rule disallowing a cascade layer nested inside a layer with the same name.
Adds a nursery rule reporting CSS animation and transition times shorter than the configured minimum; it is inactive until minimum is set.
Adds a nursery rule disallowing imports from svelte/internal and its submodules.
Adds a nursery rule disallowing rest destructuring and object spread on TanStack Query results; the rule belongs to the tanstackQuery domain.
Adds a nursery rule reporting for...of loops that iterate over complex expressions instead of a variable, property, or short call.
Adds a nursery rule disallowing returning a value typed as any from a function.
Adds a nursery rule reporting splice() calls that have a simpler alternative.
Adds a nursery rule reporting events declared by a Vue component but never emitted.
Adds a nursery rule disallowing v-text and v-html on Vue components.
Adds a nursery rule disallowing creation of Vue watchers after await in setup(), unless the stop function is stored.
Adds a nursery rule disallowing units on zero lengths in CSS; Biome can remove the unit.
Adds a nursery rule reporting immediately called functions that can be replaced with a block statement.
Adds a nursery rule enforcing percentage lightness notation in lab(), lch(), oklab(), and oklch(), or number notation when configured.
Adds a nursery rule that disallows a leading Unicode BOM by default, can require one with bom: "always", and provides a fix.
Adds the useConsistentUnicodeBom lint rule for all languages.
Adds a nursery rule reporting tests that compare includes() to a boolean and suggesting toContain().
Adds a nursery rule reporting manual absolute value calculations and range checks that can use Math.abs().
Adds the usePackageJsonValidCpu lint rule.
Adds a nursery rule reporting invalid package.json engines fields; the field must be an object with non-empty string values.
Adds a nursery rule requiring PlatformColor() and DynamicColorIOS() values to be written directly in the call for React Native optimization.
Adds a nursery rule requiring Vue component elements to bind the is attribute with :is or v-bind:is.
Adds a nursery rule requiring an element inside Vue Transition to be shown or hidden with v-if or v-show.
Adds a nursery rule reporting TypeScript ref() and shallowRef() calls without a type argument or non-null initial value.
Adds a nursery rule requiring .exact on a v-on listener when another listener for the same event needs more modifier keys.
The new flag enables Git VCS integration and sets vcs.useIgnoreFile to true in the generated configuration, even outside a Git repository.
Shows resolved configuration values and their origins as human-readable diagnostics, including matching overrides.
Adds a command that returns file developer information, with options to inspect its AST, formatting IR, or semantic model; defaults to the CST.
Lists resolved rules by plugin and importing preset without loading or executing plugin code; include globs show target files, and --path selects a target file.
Adds type-inference profiling that groups internal query and operation execution times by file and sorts them by cost; --verbose provides detailed timings and attribution.
Imports Stylelint configuration and ignore settings into Biome, mapping rules to equivalents; --write applies changes, and additional rules can be included.
Packages can distribute named Grit rules, presets, and configurations through a manifest; consumers select named exports, and package authors can expose the manifest through the biome condition.
Adds Google Apps Script support, parsing these files as JavaScript scripts; common service globals are recognized and additional globals can be configured.
When enabled, runs lint rules and assist actions on embedded blocks using their language tools and reports syntax errors; disabled by default.
Controls formatting of embedded code blocks; it is enabled by default and can be disabled to leave their contents as written.
Controls paragraph wrapping; when set to always, paragraphs wrap to the configured lineWidth.
Opt-in parsing follows CommonMark CJK-friendly amendments, recognizing emphasis markers directly next to Chinese, Japanese, or Korean text.
Opt-in frontmatter parsing treats the first thematic break as the opening frontmatter fence.
Adds Markdown linting and formatting with CommonMark-compatible parsing; the formatter and linter are enabled by default. GFM is not currently supported.
Adds a nursery rule reporting functions with more statements than the configured max, which defaults to 10.
Object-syntax plugin entries can resolve paths from the declaring configuration or consuming project; the default is project.
Points Biome to a CSS file whose Tailwind theme, utilities, and variants, including those in imported local files, inform class sorting.
A nursery rule enforces configured languages for top-level Vue and Svelte component blocks; it does not check anything until configured.
Adds a nursery rule enforcing a consistent way to read JSON before JSON.parse(); by default it reports Buffer reads, while readAs: "buffer" reports UTF-8 string reads.
When enabled, keeps members separated by blank lines in separate sections and sorts only within each section.
Adds a nursery rule enforcing consistent hyphenation for event names in v-on directives on custom components; hyphenated names are required by default.
Markdown now supports suppressions.
Added the noAstroConflictingSetDirectives rule for .astro files.
Added the noMeaninglessVoidOperator lint rule.
Added the noMisplacedListElements lint rule.
Added the noSelfImport lint rule.
Added the noSvelteExportLet lint rule.
Added the noTailwindRawColors lint rule.
Added the useLogicalProperties lint rule.
Added the usePromiseRejectErrors lint rule.
Added the useStrictBooleanExpressions lint rule.
Added the useSvelteKitRuneImports lint rule.
YAML formatting now supports suppression comments.
GritQL plugins can use contains on import-clause metavariables in import patterns.
Adds the Markdownlint MD040 rule for fenced code language declarations.
Implements the noJsonUnsafeValues JSON lint rule.
Adds the noObsoleteTags lint rule.
Adds the noReturnInFinally lint rule.
Adds the noSvelteAtDebugTags lint rule.
Adds @shadcn/lint as a lint rule source.
Adds the useConsistentFunctionStyle lint rule.
Implements the useConsistentObjectKeys JSON lint rule.
Adds the requireExplicitCase option to useExhaustiveSwitchCases.
Implements the useValidTestTitle lint rule.
Adds parsing support for GitHub Flavored Markdown.
Adds code fix mutation support for plugins.
Adds rule context support for plugins.
Adds semantic model support for plugins.
Adds JavaScript traversal methods for plugins.
Adds the Markdown MD025 single top-level heading rule.
JavaScript plugins now support TypeScript.
JavaScript plugins can query AST nodes by their kind.
JavaScript plugins gain runtime AST bindings.
Markdown frontmatter parsing support was added.
JavaScript plugins can be enabled in WASM through the
unstablefeature.biome rage now includes BIOME_BINARY in its environment variable metadata.
biome rage now includes BIOME_LOG_FILE in its environment variable metadata.
A new nursery rule reports Astro client:only directives without an initializer.
Added support for the SCSS nesting combinator.
Added the
useTopLevelHeadingrule.Added prose-wrap formatting for Markdown and changes to code block dedentation, string normalization, and indentation.
Added a nursery rule that reports extending the prototype of a built-in object.
Added a nursery rule that reports viewport metadata disabling user scaling with user-scalable=no.
Added a nursery rule that reports Tailwind CSS arbitrary values in HTML/JSX class attributes, configured utility functions, and tagged templates.
Added ignoreIfStatements; when enabled, the rule ignores if statements that only assign to a nullish variable.
Added YAML formatting for explicit block mapping entries, scalar quote normalization, node property placement, middle comments, flow collection spacing, explicit-form mapping keys, document separation, trailing newlines, and block scalar trailing comment lines.
Added a nursery rule porting ESLint's
no-restricted-properties; it flags restricted member access and object destructuring, andbiome migrate eslintpreserves the rule's options.Added YAML block scalar formatting support.
Added YAML flow mapping formatting support.
Added support for formatting YAML flow scalar content.
Biome adds parsing support for Angular attributes.
Biome supports parsing and formatting CSS custom media queries declared with @custom-media.
Adds a rule that flags negated expressions on the left side of strict equality checks and provides an unsafe fix that flips the operator.
Formats YAML document markers, directives, and multi-document streams.
YAML formatting adds basic support for block properties.
The Markdown formatter adds formatting support for quotes, thematic breaks, and link definitions.
The YAML formatter adds sequence mapping formatting.
The CSS parser can parse SCSS query feature expressions.
Adds an option to ignore ||, ||=, and ternary expressions whose non-nullish operands are selected primitives.
Adds the allowImplicit option to useIterableCallbackReturn.
Adds an upgrade command for standalone installations; it upgrades Homebrew installs, updates manually installed binaries, and directs npm users to their package manager.
Adds bundleDependencies to the NoUndeclaredDependencies rule.
Adds delimiterSpacing formatting support for JavaScript, JSX, TypeScript, JSON, and CSS.
Adds a formatter option to insert spaces inside supported delimiters when content fits on one line; defaults to false and can also be set per language.
Adds an option that enables parsing Vue syntax in .html files.
Exposes html.parser.vue in configuration.
Adds ignoreMixedLogicalExpressions to useNullishCoalescing.
Adds an includes option for scoping plugin files.
Opt-in support resolves dependencies for linting from default and named pnpm catalogs when this option is true.
Adds a kind field to import matchers.
Adds an ignore option to no-unused-variables.
Ports noAriaHiddenOnFocusable to HTML.
Adds a lint rule for files with excessive classes.
Adds a lint rule for files with excessive lines.
Ports noExcessiveLinesPerFile to HTML.
Adds a lint rule for hexadecimal colors.
Adds a rule option to ignore double negations.
Implements noInteractiveElementToNoninteractiveRole for HTML.
Adds an HTML lint rule requiring a label element or component to have a text label and an associated input.
Adds a lint rule for multiple assignments.
Adds a lint rule for multiline strings.
Adds an HTML lint rule that disallows event handlers on non-interactive elements.
Implements noNoninteractiveElementToInteractiveRole for HTML.
Adds noNonInteractiveTabIndex for HTML.
Adds the noRedundantRoles accessibility rule for HTML.
Adds a nursery rule that flags imports and package.json dependency entries with better alternatives in e18e's module replacement data.
Adds the noRestrictedDependencies rule.
Adds a lint rule for GraphQL root types.
Adds a lint rule for ternary expressions.
Adds an ignore option for excluding identifiers by name or excluding kinds of identifiers entirely.
Adds a lint rule for the Vue Options API.
Adds glob-based file scoping for plugins, including negated globs for exclusions.
The format, lint, check, and ci commands accept --reporter=concise to print diagnostics in a compact manner.
Adds the sortBareImports option for import organization; bare matchers require it.
Adds a JavaScript API helper to convert byte spans to code-unit spans.
Adds the :STYLE: group matcher for import organization.
Adds an upgrade command to the CLI.
Adds the useAriaActivedescendantWithTabindex rule for HTML.
Adds an HTML lint rule validating ARIA properties against the roles supported by an element.
Adds useAriaPropsSupportedByRole for HTML; it no longer reports false positives on Vue v-bind shorthand.
Adds a lint rule for consistent GraphQL descriptions.
Adds a lint rule for consistent method signatures.
Adds a lint rule for using error causes.
Adds a style option to useExportType.
Adds an HTML lint rule requiring elements with an interactive role and interaction handler to be focusable.
Implements useFocusableInteractive for HTML.
Adds the useFunctionComponentDefinition rule.
Adds the useHeadingContent accessibility rule for HTML.
Adds a nursery rule suggesting includes() or !includes() instead of comparing indexOf() against -1.
Adds a lint rule for input names.
When enabled, callbacks may use return; to implicitly return undefined, matching ESLint's array-callback-return rule.
Ports useKeyWithClickEvents to HTML.
Ports the useKeyWithMouseEvents accessibility rule to HTML.
Adds a lint rule for lone executable definitions.
Adds configurable minimum digit counts and group lengths for binary, octal, decimal, and hexadecimal literals.
Adds options for minimum digits and group length.
Adds a nursery rule enforcing a consistent function type for named React function components.
Ports useSemanticElements to HTML.
Implements useSortedAttributes for HTML.
Adds an assist action that sorts TypeScript and GraphQL enum members.
Adds the useSortedEnumMembers rule.
Adds the useSortedPackageJson rule.
Implements useSortedSelectionSet for GraphQL.
Adds a lint rule that prefers spread syntax over Function.prototype.apply().
Adds a Svelte nursery rule reporting each blocks with item bindings that are missing a key.
Adds the useSvelteRequireEachKey rule for HTML.
Ports the useValidAnchor rule to HTML.
Ports useValidAriaProps to HTML.
Ports useValidAriaValues to HTML.
Adds an HTML lint rule enforcing valid autocomplete values on input elements.
Adds watch mode to check, format, and lint, rerunning checks when workspace files change after the first run.
Adds a YAML file handler and initial formatting for simple block mappings and block sequences.
Formatter overrides now support
formatter.trailingCommas, which was previously available only in the top-level formatter configuration.Added parser support for SCSS
@include ... usingclauses.Added parser support for SCSS interpolated selectors.
Added parser support for SCSS parent selectors.
The new rule supports the
ignoredTypeNamesoption.Adds a nursery rule reporting stringification sites that fall back to Object's default
"[object Object]"formatting.Adds a recommended nursery rule disallowing imports of Vue compiler macros that are automatically available.
Adds a nursery rule disallowing deprecated number modifiers on Vue
v-ondirectives.Adds a nursery test-domain rule enforcing that Jest/Vitest lifecycle hooks are declared in execution order.
Adds a nursery rule reporting instance methods, getters, setters, and function-valued instance fields that do not use
this; ESLint migration preserves supported options.Adds a nursery rule enforcing Promise syntax when using Vue
nextTick.Adds a nursery rule validating Vue
v-fordirectives, including aliases and component keys.Adds lexing and parsing support for YAML properties.
When enabled, parameter names inside function type annotations are not flagged as shadowing outer variables.
When enabled, a value binding sharing a name with a type-only declaration is not flagged as shadowing.
Adds CSS parser support for SCSS media query interpolation.
Basic Markdown formatter features were implemented, and more Markdown nodes can now be formatted.
A new rule detects when a function's return type annotation is wider than what the implementation actually returns.
Biome added support for SCSS string interpolation.
A new JavaScript lint rule detects disposable objects assigned to variables without using or await using syntax, helping prevent resource or memory leaks.
A new option disables the rule's detection of ternary expressions that check for null or undefined.
Added Markdown formatting support for links and code blocks.
Added a nursery lint rule that detects implied eval() through setTimeout, setInterval, and setImmediate when called with string arguments.
Added a nursery rule that reports + and += operations with object-like, symbol, unknown, or never operands, or mixed number and bigint operands.
Adds support for the CSS properties
dynamic-range-limit,overlay,reading-flow,reading-order,scroll-marker-group, andscroll-target-group.Adds support for modern CSS pseudo-classes.
Adds support for modern CSS pseudo-elements.
Adds a nursery JSON rule disallowing empty keys in JSON objects.
Adds a nursery JSON rule requiring the root-level value to be an array or object.
Adds parsing support for SCSS binary expressions, interpolation expressions, conditional expressions, and the documented SCSS at-rules.
Adds a nursery CSS lint rule that reports properties, values, at-rules, media conditions, functions, or pseudo-selectors outside the configured Baseline tier.
Adds a nursery rule requiring all import statements to appear before any non-import statements in a module.
Adds a nursery rule that flags using a Vue ref as an operand instead of accessing its
.value.Adds a nursery rule preferring
.some()over verbose existence checks, with suggestions forfindandfindLastchecks and support for ES2025 iterator helpers.Adds a nursery rule enforcing named capture groups instead of numbered groups in regex literals and
RegExpconstructor calls.Adds a nursery rule suggesting
??instead of||when the left operand may be nullish, avoiding bugs with falsy values.Adds a nursery rule requiring the
uorvflag on regular expressions for correct handling of Unicode characters.Adds a nursery rule requiring Vue SFC style blocks to use scoped or, for CSS Modules, module attributes to prevent style leakage and conflicts.
Adds a nursery rule that disallows conditional expect() calls inside tests, which can lead to tests that silently pass when assertions never run.
Adds a nursery rule that prefers locators to element handles.
Adds a nursery rule that disallows page.$eval() and page.$$eval() methods.
Adds a nursery rule that disallows the force option on user interactions.
Adds a nursery rule that enforces awaiting async Playwright APIs.
Adds a nursery rule that disallows unnecessary await on synchronous Playwright methods.
Adds a nursery rule that ensures test functions contain at least one expect() assertion.
The CSS parser supports the typed attr function.
Runs selected lint rules, assist actions, groups, or domains, covering both lint diagnostics and assist actions.
Excludes selected lint rules, assist actions, groups, or domains when running the command.
The command accepts multiple reporters so CI output can be shown in more than one format.
Saves reporter output to a specified relative or absolute file path.
Excludes selected lint rules, assist actions, groups, or domains when running the command.
Adds logging options across Biome commands;
--log-fileredirects CLI log messages to an optional path, withBIOME_LOG_FILEas an alias.Adds a logging-level option, with
debug,info,warn,error, andnonevalues andBIOME_LOG_LEVELas an alias.A top-level suppression comment prevents Biome from formatting the document across supported languages.
Enables a profiler report showing which lint rules took the longest to execute.
Adds an environment variable alias for
--log-kind, which controls what the log should look like.Adds an environment variable alias for
--log-path, which changes the folder where daemon logs are stored.Adds an environment variable alias for
--log-prefix-name, which changes the prefix applied to daemon log file names.Provides an environment-variable alias for --watcher-kind.
Provides an environment-variable alias for --watcher-polling-interval.
Biome now attempts hidden configuration files after
biome.jsonandbiome.jsoncwhen locating configuration.Enables experimental formatting and linting of embedded GraphQL snippets in JavaScript.
Enables experimental formatting and linting of embedded CSS snippets in JavaScript.
Controls whether formatted files end with a trailing newline; defaults to
trueand can be set globally or per language.JSON is supported as a target language for GritQL pattern matching, enabling Grit plugins and patterns for JSON files.
Lets editors provide configuration to the Biome Language Server, merged with project or default configuration without changing project configuration.
Enables experimental formatting of embedded snippets in JavaScript; snippets with interpolations are not supported yet.
Controls file watcher behavior with recommended, polling, or none strategies.
Sets the polling watcher interval in milliseconds; it defaults to 2000 and applies only with the polling watcher.
Adds an HTML lint rule that disallows the accesskey attribute.
Adds an HTML lint rule that disallows distracting elements such as
<marquee>or<blink>.Controls file watcher behavior with recommended, polling, or none strategies.
Sets the polling watcher interval in milliseconds; it defaults to 2000 and applies only with the polling watcher.
Adds a linter domain that enables rules requiring the type inference engine, distinct from the
projectdomain.Adds an HTML lint rule requiring elements with ARIA roles to have all required ARIA attributes for those roles.
Adds an HTML lint rule requiring a present and valid
typeattribute on button elements.Adds an HTML lint rule requiring the html element to have a lang attribute.
Adds an HTML lint rule requiring iframe elements to have a title attribute.
Adds
extensionMappingsso users can specify custom file extensions for different module types.Setting checkForEach to false skips checks for values returned by forEach callbacks.
When enabled, groups object keys by value nesting depth before sorting alphabetically.
Makes the rule ignore overload signatures whose JSDoc comments differ.
Makes the rule ignore overload signatures whose parameter names differ.
Adds an HTML lint rule requiring elements with ARIA roles to use a valid, non-abstract role.
Adds a lint rule that detects nested .then() or .catch() calls that could be refactored into flat promise chains, while allowing nesting when flattening would be unsafe.
Adds a nursery rule that reports redundant return; statements that do not affect function control flow.
Grit search functions are now exposed to WebAssembly.
Adds a CSS rule that flags deprecated media types such as tv and handheld.
Adds a lint rule for consistent enum value types.
Adds support for the
:active-view-transitionpseudo-class.The GritQL
$filenamemetavariable can now be used inwhereclauses to filter matches by filename.Adds a nursery rule that disallows regular expressions beginning with explicitly written equal signs.
Adds a GraphQL nursery rule enforcing unique enum value names.
Adds a nursery rule enforcing a maximum number of classes per file.
Adds a nursery lint rule that reports files exceeding a configurable line limit; it is also available for CSS and GraphQL.
Adds a nursery rule disallowing
newoperators outside of assignments or comparisons.Adds a nursery rule to disallow specified GraphQL root types, such as
mutationorsubscription.Adds a nursery rule that requires rethrown caught errors to be wrapped in a new
Errorwith the original error ascause.Adds a Next.js nursery rule requiring an
idattribute onnext/scriptcomponents with inline content ordangerouslySetInnerHTML.Adds a nursery rule that disallows anonymous operations when a document specifies more than one operation.
Adds a nursery rule requiring queries, mutations, subscriptions, or fragments to be located in separate files.
Adds a nursery Next.js rule preventing next/script's beforeInteractive strategy outside pages/_document.js.
Adds a nursery rule disallowing .bind(), arrow functions, or function expressions in JSX props.
Adds a nursery rule to help prevent multiple chained assignments in one statement.
Adds a nursery rule disallowing assignments inside return statements.
Adds a nursery GraphQL rule enforcing unique arguments for fields and directives.
Adds a nursery GraphQL rule requiring all fields of a type to be unique.
Adds a nursery GraphQL rule requiring fields within an input object to be unique.
Adds a nursery rule enforcing unique variable names for GraphQL operations.
Adds a nursery rule enforcing a consistent defineProps declaration style.
Adds a nursery rule enforcing consistent shorthand or longhand v-bind style; shorthand is preferred by default and the style is configurable via rule options.
Adds a nursery rule enforcing consistent shorthand or longhand v-on style; shorthand is preferred by default and the style is configurable via rule options.
Adds a nursery rule that validates root-level Vue template elements: templates with src must be empty, and other templates must contain content.
Adds a nursery rule enforcing valid uses of the v-cloak directive in Vue single-file components.
Adds a nursery rule that checks whether v-once directive usages in Vue single-file components are valid.
Adds a nursery rule enforcing valid uses of the v-pre directive in Vue single-file components.
Adds a nursery rule enforcing <script setup vapor> in Vue single-file components.
Adds a rule requiring elements using v-for to also specify a key.
Added a nursery rule that disallows ambiguous anchor descriptions.
Implements the noScriptUrl lint rule.
Implements the useAwaitThenable lint rule.
Adds a lint rule for destructuring.
Adds the useRegexpExec lint rule.
Adds the useRequiredScripts JSON lint rule.
Implements the vue/noSetupPropsReactivityLoss lint rule.
Adds a nursery rule that disallows spreading the same identifier multiple times in JSX props.
Adds a rule enforcing === and !== instead of == and != when comparing with null.
Adds a rule to help prevent potential leaks when rendering components that use binary expressions or ternaries.
Adds a rule that disallows creating multiline strings by escaping newlines.
Adds a rule that disallows using the __proto__ property to get or set an object's prototype.
Adds a nursery rule that disallows ternary operators.
CSS parsing and formatting now support the CSS if function.
New lint rule enforces valid v-text directives by reporting arguments, modifiers, or missing values.
The Biome HTML parser can parse and format Svelte if, else-if, and else blocks.
A nursery rule requires Array#sort and Array#toSorted calls to provide a compareFunction.
Adds a nursery lint rule that disallows
continuestatements in favor of structured control flow such asif.The React Activity component was added to Biome's known React APIs.
The resolver now supports baseUrl in tsconfig.json.
A checkstyle reporter was added.
This CLI flag controls whether CSS Modules syntax is enabled for parsing.
This CLI flag controls whether Tailwind CSS 4.0 directives and functions are enabled.
Enabling this CSS parser option allows Tailwind v4 syntax additions to be parsed and formatted.
Formatting embedded content in HTML files is now supported.
Parsing JSON embedded in other content is now supported.
Globs prefixed with a double exclamation mark force-ignore matching files so the scanner will not index or process them, even in project mode or when imported.
The includes setting now supports force-ignore syntax.
This CLI flag allows formatting to proceed on files with syntax errors.
The auto variant selects CRLF on Windows and LF on macOS and Linux, matching the operating system's expected line-ending style.
An analyzer was added for HTML.
This configuration enables or disables HTML assist support.
This option controls indentation of content inside script and style tags in Vue and Svelte files; it is disabled by default.
This option enables parsing of text expressions delimited by double curly braces in HTML files; expression contents are parsed as normal text.
This configuration enables or disables HTML linting; the HTML linter initially includes the noHeaderScope rule.
Full experimental support was added for HTMLish languages.
An option was implemented to control indentation of scripts and styles.
This CLI flag controls whether comments are allowed in JSON files.
This CLI flag controls whether trailing commas are allowed in JSON files.
lineEndings gained an auto mode.
The noUnknownAtRule rule gained an ignore option.
The rule accepts an ignore option; matching unknown at-rules no longer emit a diagnostic.
--skip and --only now support domains.
This package is recognized as an alias for react when handling the reactClassic jsxRuntime.
The checkstyle reporter emits diagnostics in Checkstyle format.
The rdjson reporter emits diagnostics in RDJSON format.
CSS parsing now supports Tailwind v4 directives.
Added a nursery rule that disallows meaningless JavaScript, CSS, JSON, and GraphQL files to prevent codebase clutter.
Introduces Biome assist for opt-in code actions through configuration or LSP-compatible editors; assist is enabled by default and can be disabled with assist.enabled.
Adds a top-level suppression that suppresses specified analyzer rules for an entire file and must be placed at the beginning of the file.
Provides an environment-variable alternative to --threads for controlling CLI thread usage.
The formatter option is now supported in JSON files.
Adds an array and object formatting option for JavaScript and JSON with auto, always, and never values.
Added the // microsyntax for extending a nested configuration from the root configuration; it implies root: false.
Adds a root-configuration setting to override the scanner's internal ignored names list; accepts file or folder names, not paths or globs.
Added experimental formatting support for .html files, enabled by opting in through this configuration field.
Controls whether the trailing slash of HTML void elements is printed; the default removes it, while always preserves it.
IDE/editor settings can now select code actions from linter rules as well as assist actions, including unsafe fixes without making them safe project-wide.
Controls whether Biome expects JSX syntax in .js, .mjs, and .cjs files; defaults to true.
Introduces domain-based rule opt-in, allowing rules associated with a domain to be enabled, disabled, or enabled when recommended.
Linter groups now accept options to enable or disable all rules in a group and set their severity.
Adds a CLI argument that writes invocation log messages to the specified path instead of stdout.
Now accepts tracing, which prints timing information from tracing spans to the log.
Added monorepo support using a root biome.json configuration and nested configurations marked with root: false.
Adds a domain that enables rules for Next.js projects.
Added the noAwaitInLoop lint rule.
Adds a rule disallowing bitwise operators.
Adds an option to reject rel="noreferrer" and require rel="noopener" for links with target="_blank".
Adds a lint rule inspired by ESLint's no-constant-binary-expression rule.
Adds a lint rule for detecting floating promises.
Adds a CSS rule preventing the use of !important inside CSS declarations.
Adds a lint rule for detecting import cycles.
Adds a rule disallowing nested component definitions in React components.
Adds an option to allow or deny property assignments on function parameters; defaults to allow.
Adds a rule disallowing assignment to React props.
Added a rule that prevents use of specified HTML elements and components.
Added a lint rule that disallows variable declarations from shadowing variables in an outer scope.
Adds a lint rule for detecting @ts-ignore usage.
Adds a nursery rule that detects imports of non-existing exports.
Adds an option to report variables created using the rest pattern when set to false.
Adds a lint rule for detecting unwanted Polyfill.io usage.
Added the noUselessStringConcat lint rule.
Adds an option for enabling lint rules using their default severity.
Adds a code action that inserts a suppression comment for each violation.
Adds a code action that inserts a file-level suppression comment for a rule.
Adds a domain that enables rules for React projects.
Added to the analyzer globals.
Adds a domain for rules related to Solid projects.
Adds a lint command option that writes a suppression comment with the supplied reason instead of applying a rule fix.
Adds options allowing specific labels.
Syntax rules can now be suppressed, providing an escape hatch when a rule is affected by a bug.
Adds a ci command option to control the number of threads used by the CLI.
Type exports now support renaming types to default.
Adds a rule requiring getters and setters for the same property to be adjacent in class and object definitions.
Added the useArrayLiterals lint rule, which now also provides an unsafe code fix.
Adds a JavaScript rule enforcing a consistent object definition style, with shorthand enforced by default.
Added a rule that detects missing switch cases; it currently supports only literal union types.
Added the useExponentiationOperator lint rule.
Added a rule enforcing Solid's For component for mapping arrays to JSX elements.
Adds forceJsExtensions for users of tsc's module node16 setting.
Added a style option to enforce an import style for importing types.
Added the useIndexOf lint rule, based on unicorn's prefer-array-index-of rule.
Adds a rule requiring return values in callbacks for iterable methods that use them and disallowing return values in forEach callbacks.
Added a rule requiring JSON module imports to include the with { type: "json" } import attribute.
Added the useNumberToFixedDigitsArgument lint rule.
Added the useNumericLiterals lint rule.
Adds a rule encouraging numeric separators to improve readability.
Adds a rule preferring object spread syntax over Object.assign() when constructing new objects.
Added the useSimplifiedLogicExpression lint rule.
Adds a rule requiring JSDoc comment lines to start with a single asterisk.
Adds a JavaScript assist rule that sorts object properties while treating spread and calculated keys as non-sortable boundaries.
Adds the useSymbolDescription lint rule.
Adds a rule disallowing static IDs in React components and encouraging unique IDs generated with useId.
Performance 64
Linting files without suppression comments is up to 61% faster.
Locates binding nodes near the query node.
Skips the suppression token pass in files without suppression comments.
Improves linting performance for JavaScript and HTML files when Tailwind rules are enabled.
Lint passes spend less time stepping over syntax nodes that no enabled rule looks at.
Fixed a slowdown that grew with the number of files because looking up an open file took longer after every processed file; large projects are processed faster again.
Improved the performance of Grit plugins that use regular expressions.
Improved performance for JavaScript plugins that read node.kind.
Improved performance for JavaScript plugins that read token.kind.
The daemon reuses per-file and per-project data and retains syntax trees only for recently read files, preventing memory use from growing with each run.
Linting is about 1% to 3% faster on large projects, especially with default rules and rules tracking variables or unreachable code.
Linting spends less time setting up enabled rules for each analyzed file.
Linting, checking, and CI are up to 12% faster on files where rules report diagnostics with code fixes, using default rules.
Processing many files is up to 7% faster.
Improves CLI performance on projects with many files during cleanup.
Formatting files without syntax errors is faster because formatted code is no longer parsed a second time; JSON files are unaffected.
Improved performance of the biome search command.
Improves formatter performance in files with little or no comments.
Linting and assists are faster, especially when few rules are enabled, such as with --only.
Linting and assists are up to 50% faster on some files.
Improves linting performance by computing syntax node ranges without allocating edge tokens.
The rule spends much less time in files without irregular whitespace.
The rule spends much less time in files without an @ts-ignore comment.
Commands using the server now process files on all available CPU cores instead of at most four files at a time.
The HTML formatter is up to 4x faster.
Indexing and analysis of big files are up to 2x faster, especially in projects using project and types lint rules.
Type inference is significantly faster, with benchmark speedups of about 2–240x for some popular libraries, affecting all rules that use type information.
Improves formatting performance for documents containing many HTML-native or SVG-native tags.
Formatting and checking large parenthesized object expressions no longer exhibit quadratic slowdowns.
Improves formatter performance by up to approximately 50% in some cases.
Improves linting performance for large CSS and JSON files.
Improves type inference performance by avoiding resolution of unused members in object arguments.
Calls to non-Promise methods on third-party TypeScript classes are classified using targeted type information instead of expensive full type inference.
Rule performance was improved.
Rule performance was improved.
Rule performance was improved.
Rule performance was improved.
Rule performance was improved.
Rule performance was improved.
Rule performance was improved.
Rule performance was improved.
Skips type inference for assignment statements, which are always considered handled.
Skips graph traversals for imports that cannot be part of a cycle.
Collecting rule timings performs better in heavily multithreaded environments.
Formatter performance improved by up to approximately 7% across the board.
Fixed a performance regression that caused type inference to run repeatedly while linting a file.
Fixed a performance regression by inferring only requested types and memoizing export resolution.
The lint rule is about 50% faster.
The HTML parser is slightly faster in synthetic benchmarks.
Cancels certain in-flight operations during fast updates and orchestrates operations so they do not block the editor during typing, especially in large documents.
The formatter is now up to about 20% faster at formatting files in some cases.
Linter performance improves, especially in larger projects with more than about 1,000 files.
Narrowed query nodes for several lint rules, reducing how often they are evaluated.
Fix-all operations run faster by running rules with code fixes first, followed by the remaining rules.
Improved performance when check is called with --write.
Code actions and diagnostics are now pulled and computed lazily, avoiding the previous all-at-once request that struggled with big files and caused CPU spikes.
Improved performance when lint is called with --write.
Slightly improves performance in projects that have more than about 2,000 files.
The rule improves performance by short-circuiting its logic.
Cycle detection explicitly excludes node_modules, improving performance in proportion to dependency-tree size.
The rule is slightly faster due to an early return optimization and simplified character detection.
Reduces system calls when running the CLI; performance may be noticeable in large projects with multiple libraries and project rules enabled.
Improves rule performance by eliminating string allocations.
Reduced formatter memory use and improved performance by enabling internal source maps only when needed.
Behavior and default changes 191
Narrows types after explicit local predicate calls.
Narrows types after standalone assertion calls.
Expands coverage to all form controls.
Now checks variables used in loop iterated values, destructuring or parameter defaults, and single-expression arrow function bodies.
Expands the cases covered by the noUselessStringConcat lint rule.
CSS inside styled.a.attrs() is now parsed as an embedded CSS snippet.
No longer offers to add the u flag to patterns that would become invalid or change meaning in Unicode mode, while still reporting them.
The parser now parses MDX ESM blocks and expressions, as well as MDX JSX tags.
The CLI checks files on disk while editors retain their own open-file text, preventing unsaved editor content from being checked or lost.
Biome migrates the Prettier option to formatter.bracketSpacing at the top level and inside overrides, aligning JSON and GraphQL spacing with JavaScript.
The rule now reports v-else and v-else-if used with v-for.
Prints the command summary, --max-diagnostics warning, and skipped-fixes notice to stderr instead of stdout so they do not mix with diagnostics.
Configuration files can recursively extend local files and npm package configurations up to ten levels; repeated references participate in the merge, while multiple versions of one package produce an error.
Running biome init in a Git repository, including nested directories and worktrees, now generates configuration with Git VCS integration enabled.
With this setting enabled, the editor now offers code actions for diagnostics inside embedded code in Astro, Vue, Svelte, and HTML files.
Enabling this option formats JavaScript interpolations in CSS-in-JS templates while leaving the text glued to interpolations unchanged.
Promoted 59 nursery rules to stable groups, changing their rule groups and, for specified rules, recommendation status or severity.
Biome now infers untagged template literals as strings, allowing type-aware rules such as noUselessTypeConversion to report more cases.
Type lowering now handles computed members and infers symbol-keyed access.
Watched-file patterns are scoped to each workspace folder, with deprecated rootUri fallback and compatible absolute glob patterns for clients without relative-pattern support.
When plugins fail to load, Biome prints each failing plugin's path on its own line instead of concatenating error messages.
Type lowering now handles readonly types and infers const generics.
SCSS now supports interpolation in containers, layers, property names, and the attr function.
Can now match TypeScript interface snippets.
Expands the cases supported by the useIncludes lint rule.
Adds support for interpolated SCSS URL values.
Interpolation delimiters stay attached to whitespace-sensitive boundaries and adjacent inline siblings, wrapping expressions when needed to fit the configured line width.
Template literal attribute values are now supported in Astro.
The Tailwind parser now understands container-query variants, child and descendant variants, combinator selectors in arbitrary variants, variant modifiers, and arbitrary container-query sizes.
Added ordering of variants in
sort_v4.The HTML formatter writes a standalone HTML5 doctype in lowercase in plain .html files.
The HTML formatter lays out srcset candidates as a list, collapsing whitespace between candidates and putting each candidate on its own line when needed.
Added support for preserved SCSS custom properties.
SCSS variables are now allowed in rule lists.
The
sort_v4ordering was updated to order same-utility values, order by name, resolve dashed statics, and sort candidates by property signature.YAML comments are indented according to their block structure.
YAML node properties are kept on the entry line.
When the formatter is enabled, the command reports the code frame of the formatted code.
Biome now breaks the arguments of curried describe.each calls when they exceed the configured line width.
Biome now breaks the arguments of curried it.each calls when they exceed the configured line width.
Biome now breaks the arguments of curried test.each calls when they exceed the configured line width.
Biome now breaks the arguments of curried test.for calls when they exceed the configured line width.
The rule now sorts important-suffix classes in sort_v4.
The Markdown formatter changes bullet list spacing.
The CSS parser can parse hyphen-led interpolated properties.
The CSS parser can parse SCSS variable media features.
The editor feature is disabled by default to avoid scanner-triggered module graph construction that could cause memory leaks.
CSS parsing allows delimiters in bracketed value lists.
Improves how diagnostics print long lines of code, such as minified files printed on one line.
When VCS ignore files are enabled, Biome skips files listed in Git's local exclude file, including in linked worktrees.
Core now respects files excluded by git info.
The init command now prints the Biome logo.
Ports noAriaUnsupportedElements to HTML.
Promoted the rule from nursery to the style group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the style group.
Promotes the rule to the performance group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
The rule now collects local and global styles and has improved class detection.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
Uses type information to detect more redundant optional chaining, coalescing, logical operators, nullish comparisons, and never-matching switch cases.
CSS parsing allows SCSS declarations in @page blocks.
SCSS parsing and formatting gain support for additional syntax, including semicolonless rules, interpolated at-rules and conditions, variables in keyframes, and improved formatting.
SCSS now allows nested declarations.
CSS parsing now supports SCSS qualified names in values and function calls.
Biome's core file handling now handles SVG files.
The Tailwind parser now parses variant expressions.
CSS parsing adds unary expression support.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the suspicious group.
Promoted the rule from nursery to the style group.
Added parser support for SCSS interpolated dashed identifiers and properties.
Added parsing support for interpolated SCSS nested properties.
Added support for SCSS interpolation in attribute selectors.
The formatter aligns SCSS map pair value layout.
Tailwind parsing now differentiates between number and non-number values.
Adds header spacing and proper word filling, and removes trailing spaces in Markdown lists.
Improves formatting for SCSS
@each,@ifand@else ifrules, maps, parenthesized lists and expressions, include arguments, and function arguments with trailing commas.Adds parsing support for interpolated
ntharguments, spaced function heads, and string concatenation and improved interpolation handling inurl()functions.Parses Tailwind arbitrary values as CSS.
Improves formatting for SCSS includes, maps, comments, trailing separators, interpolated values, control rules, and expressions.
Adds CSS parser support for SCSS interpolated values.
Biome now emits a warning diagnostic when a file exceeds the configured maximum size.
Project selection now prefers the most specific project root in nested workspaces.
The rule now allows omitting annotations for trivially inferable expressions, including binary, comparison, logical, array, conditional, and call expressions, class instantiation, and parameter defaults.
The rule now detects ternary expressions that check for null or undefined and suggests rewriting them with ??.
The diagnostic now includes the configuration file path and working directory, making the issue easier to debug.
Adds support for SCSS interpolation in selectors and declaration names.
When the
domainsfield is configured, Biome automatically enables domains when it detects certain dependencies in package.json.The rule now covers inequality and strict inequality operators.
When enabled, recognizes
graphqlas a valid embedded GraphQL template tag in JavaScript, supporting GraphQL tags used in RelayJS.SCSS qualified name detection is enhanced.
Formatting is now applied when safe or unsafe fixes are applied via the command.
Biome searches user configuration locations after the project and parent folders, with platform-specific config-home paths.
The CSS property ordering was updated to align with stylelint-config-recess-order v7.4.0, adding support for additional property groups.
Biome recognizes Cursor JSON files in known Cursor locations and parses them with comments and trailing commas enabled.
Biome supports parsing :global and :local in style sections of .astro, .svelte, and .vue files when experimentalFullHtmlSupportedEnabled is true.
The experimental formatter was overhauled to more closely resemble Prettier, which may produce large formatting diffs in HTML, Vue, Svelte, and Astro files.
Biome automatically enables CSS modules parsing for files matching this pattern.
Promoted from nursery to the suspicious group with default severity warn.
Promoted from nursery to the suspicious group with default severity warn.
Promoted from nursery to the suspicious group with default severity warn.
Promoted from nursery to the suspicious group with default severity warn.
Promoted from nursery to the style group with default severity info.
Promoted from nursery to the correctness group with default severity warn.
Promoted from nursery to the suspicious group with default severity warn.
Promoted from nursery to the suspicious group with default severity warn.
Promoted from nursery to the complexity group with default severity info.
Promoted from nursery to the complexity group with default severity info.
Promoted from nursery to the correctness group with default severity warn.
Setting RUST_BACKTRACE=1 makes a stacktrace available for fatal errors.
Promoted from nursery to the style group with default severity info.
Promoted from nursery to the suspicious group with default severity warn.
The CSS parser can parse Vue SFC pseudo functions such as :slotted and :deep inside .vue components when experimentalFullHtmlSupportedEnabled is true.
When wrapping comma-separated declaration values, the formatter now breaks at top-level commas.
The rule now supports bracket notation for process.env and import.meta.env, plus Bun.env and Deno.env.get access.
Diagnostics emitted by nursery rules now include a message making users aware of the rules' nursery status.
When the supplied path does not exist on disk, Biome treats it as virtual and skips files.includes and VCS ignore checks.
The rule now runs only on script setup blocks.
Updated formatting of the iframe allow attribute to match Prettier 3.7's behavior.
The volume of logging from the server was reduced.
Supports negative-value utilities when sorting classes.
Formatting conditional types with generic parameters now prefers breaking after the assignment operator to match Prettier.
Editors and the language server now detect formatting support when range or on-type formatting is supported, not only full-file formatting.
The rule now allows files to export from themselves.
The rule now allows filenames starting with a dollar sign by default, supporting file-based routing conventions.
The rule now flags Object.assign in reduce only when a new object is allocated on each iteration.
The HTML parser can parse Vue directives, enabling Vue lint rules that inspect template sections; experimental full support may also introduce parsing errors.
Tailwind parsing adds support for negative candidates.
The YAML parser can parse the document end token.
The init command detects known ignore files and generated folders, then adds corresponding VCS ignore settings or force-excludes dist folders in biome.json.
The --only flag now accepts domain names to run all rules belonging to a domain.
The --skip flag now accepts domain names to skip all rules belonging to a domain.
Biome's resolver now supports baseUrl specified in tsconfig.json, allowing imports to resolve relative to that base regardless of the importing file's location.
Error logging emitted while loading possible configuration files was removed.
Diagnostics are now emitted from embedded nodes.
Code fixes can now be applied in snippets.
Reporter outputs now show Information-severity diagnostics and count them in the final output.
This lint rule was promoted to the suspicious group.
This lint rule was promoted to the security group.
Lint rules were promoted.
Several rules are now part of the react domain and are enabled when that domain is enabled or Biome detects react in the closest package.json; only recommended rules are enabled automatically.
--skip and --only now support domains.
Formatting of JavaScript blocks now indents their contents to match Prettier's formatting.
This lint rule was promoted to the style group.
This lint rule was promoted to the style group.
Formatting of JavaScript blocks now indents their contents to match Prettier's formatting.
The maximum allowed line limit increased from 255 to 65,535, better supporting large JSX and front-end components.
The daemon now reuses a workspace across connections, allowing clients to share documents and cached data; the CLI can opt in with --use-server.
The command now resolves arbitrary shared ESLint configuration package names, including scoped packages and packages with null values or nested files properties in flat configs.
The migrate command can migrate nested configuration files; run it from the project root for projects with nested configurations.
The command now prints the configuration path relative to the working directory when applicable.
The option is now applied to lint, check, and ci commands.
When a folder contains both biome.json and biome.jsonc, Biome warns and uses biome.json by default.
Biome now emits a warning diagnostic when the configuration contains an out-of-sync schema URL.
Formatting now wraps CSS value lists in a more readable way while preserving semantic structure, aligning with Prettier.
Biome now prints diagnostics by severity in information, warning, error order, placing errors last.
Can now be overridden for specific files using configuration overrides.
Several rules now emit warnings or information instead of errors, and noDelete and noForEach are no longer recommended.
Every rule has a suggested default severity, including recommended rules, and users can use that severity or choose one themselves.
When retrieving code actions, the first choice suggested by the client is now the safe fix.
Biome VCS integration now supports nested ignore files, with nested .gitignore patterns applying inside their folder.
The rule now checks only regular expression literals, not dynamically built regular expressions.
The rule now ignores .ts files when package.json has type set to commonjs.
checkTypes now defaults to false, so undeclared TypeScript type references are ignored unless it is set to true.
Now keeps comments separated from an import with a blank line when removing an empty import.
Now reports empty named imports and suggests their removal.
Diagnostic messages now include the name of the unused binding.
Now accepts rule and action names without a group prefix.
The recommended rule set changed: some rules were added or removed, and noRenderReturnValue and useExhaustiveDependencies are recommended only with the react domain enabled.
Style-group rules no longer emit errors unless configured otherwise.
Suppression comments using <explanation> as the reason now produce a warning diagnostic.
Suppression comments with an empty explanation now produce a warning diagnostic.
These files are now treated the same as tsconfig.json files.
The rule now allows single spaces.
The rule adds support for arrow functions and now allows explicitly annotated variables and variables with trivial right-hand sides.
The rule now ignores TypeScript declaration files.
The rule now accepts character escapes at the start of a regex group in its matching configuration.
The rule now ignores unused variables prefixed with an underscore.
The rule now ignores concatenated literals folded to multiple lines.
Now accepts comparisons of a typeof expression against variables.
With this flag, the summary reporter prints the files processed and the files fixed.
LSP clients can now override the configuration path for each workspace by responding to workspace/configuration requests.
Workspace internal APIs now use camelCase.
Tooling 177
Type inference supports conditional types and
inferbindings.Adds a lint rule for Drizzle database objects used inside transactions.
Adds a lint rule for deprecated Vue
v-isusage.Missing CLI paths are reported as file-system errors without the INTERNAL tag or configuration-ignore advice; file-system diagnostics use specific fs/* categories, including fs/io for underlying I/O errors.
Adds the noDisabledButton lint rule.
Adds the noInvalidFetchOptions lint rule.
Adds the noNewArray lint rule.
Adds a lint rule for React direct state mutation.
Adds the noScssNullComparison lint rule.
Adds the noSvelteAsyncStore lint rule.
Adds the noUnresolvedDefaultImport lint rule.
Adds the noUselessFallbackInSpread lint rule.
Adds a nursery rule that reports constructor assignments duplicating TypeScript's automatic initialization of parameter properties.
Adds the noUselessParameterPropertyAssignment lint rule.
Adds a nursery rule reporting repeated namespace or enum names before a member inside that namespace or enum, with a fix to remove the repeated name.
Adds the noUselessQualifier lint rule.
Adds the noUselessSpread lint rule.
Adds a nursery rule that reports expose() and defineExpose() calls after an await in Vue component setup code, because they run too late.
Adds the noVueExposeAfterAwait lint rule.
Adds the useAtomicUpdates lint rule.
Adds the useCatchErrorName lint rule.
Adds the useConsistentFontWeightNotation lint rule.
Adds the useConsistentTupleLabels lint rule.
Adds a nursery rule that reports matchAll() calls with regular expressions lacking the g flag, which throw a TypeError at runtime.
When a rule panics, Biome now reports the active analyzer rule and source range and suggests disabling the rule as a workaround.
Added the noArrayForEach lint rule.
Added the noAwaitInPromiseMethods lint rule.
Added the noChainedComparison lint rule.
Added the noDynamicDelete lint rule.
Added the noLateEventControl lint rule.
Added the noMapSpread lint rule.
Added the noMismatchedMapKey lint rule.
Added the noMissingScssInterpolation lint rule.
Added the noMissingThrow lint rule.
Added the noObjectLiteralComparison lint rule.
Added the noPlaywrightUnsafeReferences lint rule.
Added the noSinglePromiseInPromiseMethods lint rule.
Added the noSyncMethods lint rule.
Added the noTanstackQueryVoidQueryFn lint rule.
Added the noUnnecessaryStringTrim lint rule.
Added the noUselessAwait lint rule.
Added the noUselessTypeAssertion lint rule.
Added the noVueChildContent lint rule.
Added the noVueDeprecatedDestroyedLifecycle lint rule.
Added the noVueDeprecatedEventsApi lint rule.
Added the noVueDeprecatedFunctionalTemplate lint rule.
Added the noVueDeprecatedHtmlElementIs lint rule.
Added the noVueDeprecatedInlineTemplate lint rule.
Added the noVueDeprecatedModelDefinition lint rule.
Added the noVueDeprecatedPropsDefaultThis lint rule.
Added the noVueDeprecatedSlotAttribute lint rule.
Added the noVueDeprecatedSlotScope lint rule.
Added the noVueDeprecatedVBindSync lint rule.
Added the noVueDeprecatedVOnNativeModifier lint rule.
Added the noVueExcessiveProps lint rule.
Added the noVueLoneTemplate lint rule.
Added the noVueMultipleObjectsInClass lint rule.
Added the noVueRefObjectReactivityLoss lint rule.
Added the noVueRestrictedCallAfterAwait lint rule.
Added the noVueRestrictedVOn lint rule.
Added the noVueTemplateKey lint rule.
Added the noVueTemplateShadow lint rule.
Added the noVueTextareaMustache lint rule.
Added the noVueThisInBeforeRouteEnter lint rule.
Added the noVueThisInTemplate lint rule.
Added the noVueUndeclaredEmits lint rule.
Added the noVueUndeclaredProperties lint rule.
Added the noVueUndeclaredSlots lint rule.
Added the useAccessorPairs lint rule.
Added the useObjectFromEntries lint rule.
Added the useSetSize lint rule.
Added the useSvelteStoreInitialValue lint rule.
Added the useTanstackQueryInfiniteQueryPropertyOrder lint rule.
Added the useTanstackQueryStableQueryClient lint rule.
Added the useVueBlockOrder lint rule.
Added the useVueBooleanPropTypeFirst lint rule.
Added the useVueComputedPropertyReturn lint rule.
Added the useVueDefaultProp lint rule.
Added the useVueEmitValidator lint rule.
Added the useVuePropTypeConstructor lint rule.
Added the useVueRenderReturn lint rule.
Added the useVueSingleEventPayload lint rule.
Added the useVueSlotsAsFunctions lint rule.
Added the useVueTypedObjectProps lint rule.
Added the useVueValidAttributeName lint rule.
Added the useVueValidDefaultProp lint rule.
Added the useVueValidDefineOptions lint rule.
Added the useVueValidNextTick lint rule.
Allows migration of the react/no-render-return-value ESLint rule.
Allows migration of the react/self-closing-comp ESLint rule.
Adds a nursery rule reporting indexed loops that read the same position from several arrays, which can use Iterator.zip().
Adds a nursery rule requiring Math.trunc() instead of bitwise operations or parseInt(String(x), 10) to remove a number's decimal part.
Migration recognizes more upstream rules covered by Biome rules and explains why additional unsupported rules are skipped.
The npm distribution adds Android Termux support through Android arm64 and x64 CLI packages using static musl binaries.
Biome now formats and lints .scss files and recognizes .module.scss files as CSS Modules.
Biome parses and formats generic on Vue script setup blocks, and declared type parameters are accounted for by undeclared-variable and unused-variable/import rules.
Biome now supports formatting .yaml and .yml files.
Type lowering now handles array type syntax.
Multiline Astro expressions are indented at the surrounding markup column, and biome format now formats Astro expressions too.
Type lowering now handles generic type constraints.
Type lowering now includes global functions from source declarations.
Type lowering now handles indexed access types.
Type inference now lowers Intl namespace declarations.
Type lowering now handles keyof type operators.
Added a lint rule that detects React object types used as default props.
Type lowering now handles Symbol call signatures.
Type lowering now handles Symbol static members.
Adds suite() as an alias of describe() across test analysis rules and formatter; rules also recognize fsuite, xsuite, and test.suite blocks.
Test rules accept suite() as an alias of describe().
Adds detection of undeclared custom Vue directives.
Can capture and inspect multiple named import specifiers and match captured JSX component names against snippets such as React.Fragment.
Astro fragment shorthand is now supported.
A JavaScript transform can erase type annotations in TypeScript code.
biome rage now includes RUST_BACKTRACE in its environment variable metadata.
Added a Markdown linter.
Added support for declaration tags using
letandconst; Biome can parse, format, and lint their bindings.Improves the schema's developer experience in code editors such as VSCode.
The language server can navigate to definitions of supported JavaScript variables, types and components, CSS classes, and entities in HTML-ish files.
Rewrite operators now produce fixable diagnostics for JavaScript, CSS, and JSON; rewrites are unsafe by default and need --write --unsafe unless marked safe.
Promotes the rule to the complexity group.
Promotes the rule to the performance group.
Promotes the rule to the complexity group.
Dependency linting supports pnpm catalogs.
Biome can now format and lint SVG files.
Promotes the rule to the complexity group.
Promotes the rule to the performance group.
The CLI can apply GritQL plugin rewrites when run with --write.
Added formatter support for SCSS keyframes selectors.
The LSP file watcher now watches this configuration file and reloads workspace settings when it changes.
Updated migration metadata better reflects which ESLint rules are redundant, unsupported, or unimplemented.
Improved the diagnostic to explain why autofocus harms accessibility outside allowed modal contexts.
Improved the diagnostic to explain why calling global objects like Math or JSON is invalid and how to fix it.
Improved the diagnostic to explain why using a declaration too early is problematic and how to fix it.
Improved the diagnostic to explain why escaped multiline strings are discouraged and what to use instead.
Improved the diagnostic to explain that the reported root type is disallowed by project configuration and how to proceed.
Improved the diagnostic to explain why comparing a value to itself is suspicious and what to use for NaN checks.
Improved the diagnostic to explain why later shorthand declarations can unintentionally overwrite earlier longhand properties.
Improved the diagnostic to explain why exposing then can create thenable behavior and how to avoid it.
Adds a nursery rule that disallows the deprecated networkidle wait option.
Adds a nursery rule that disallows page.pause() debugging calls in committed code.
Adds a nursery rule that prefers modern navigation APIs over deprecated waitForNavigation().
Adds a nursery rule that prefers locators over deprecated waitForSelector().
Adds a nursery rule that disallows hard-coded timeouts with waitForTimeout().
Adds a nursery rule that validates describe callback signatures are not async.
The Biome Language Server reports progress while scanning project files and dependencies.
Adds an assist action that sorts TypeScript interface members and includes an autofix.
Adds migration metadata for several TypeScript, Vue, and unicorn ESLint rules.
The migration summary now explains why rules were not migrated, helping users decide how to handle ESLint configuration migration.
The migration command now detects rules for CSS, GraphQL, and HTML.
Adds a nursery rule that reports Vue Options API usage, which is incompatible with Vue 3.6's Vapor Mode.
Adds parsing and formatting support for Svelte {#await} syntax when html.experimentalFullSupportEnabled is true.
Adds parsing and formatting support for Svelte {#each} syntax when html.experimentalFullSupportEnabled is true.
Adds parsing and formatting support for Svelte {#snippet} syntax when html.experimentalFullSupportEnabled is true.
The command can be used to remove large logs after the LSP server's logging volume was reduced.
The command now reports whether experimental HTML full support is enabled.
Adds special formatting for the iframe allow attribute.
Biome can parse and format the Svelte {@attach} syntax; expressions inside it are not formatted yet.
Biome can parse and format the Svelte {@const} syntax; expressions inside it are not formatted yet.
Biome can parse and format the Svelte {@html} syntax; expressions inside it are not formatted yet.
Biome can parse and format Svelte {#key} blocks; expressions inside them are not formatted yet.
Biome can parse and format the Svelte {@render} syntax; expressions inside it are not formatted yet.
The HTML parser can now parse and format the Svelte
{@debug}syntax.The init command was enhanced.
Experimental support enables linting and formatting JavaScript or TypeScript, HTML, and CSS contained in these files; parsing inaccuracies and edge cases may remain.
This file is now recognized as a well-known file.
An rdjson reporter was added to the CLI.
React 19.2 is now supported by the JavaScript analyzer.
Some lint rules were moved to the react domain.
React library aliases were added.
CSS formatters were implemented for new Tailwind nodes.
Indentation support was added for Vue and Svelte files.
Now reports which ESLint rules were migrated and which are unsupported or require optional migration flags.
Adds a rule disallowing destructured props in Solid projects.
organizeImports is now part of Biome Assist.
Several rules now have safe fixes: noExtraBooleanCast, noNonoctalDecimalEscape, noSwitchDeclarations, noThisInStatic, noUnusedTemplateLiteral, noUselessContinue, and noUselessElse.
The LSP now offers suppression actions when a syntax rule is violated.
Adds the test domain, which enables test-related rules and injects test globals.
Fixes and other changes 733
Now adds suppression comments for diagnostics emitted by plugins.
Stops printing a comment twice when it ends the line of an element's opening tag.
No longer deletes comments following a Svelte block delimiter on the same line.
No longer moves a word onto its own line after an inline element or expression that starts a line; formatting is stable after one pass.
The unsafe fix removes the whole element.
Recognizes the
selectedcontentelement.Vue emit rules now recognize events declared with a function type and event names written as template literals without substitutions.
Suppression actions are now emitted for plugin diagnostics.
Corrects diagnostic locations on unquoted object keys so the highlight begins at the full key.
Preserves
thisaliases in class field initializers.Now select the matching overload of a method declared multiple times in an interface or object type, improving rule results for overloaded methods.
Evaluates conditional types, including infer and distribution over unions, rather than treating them as a union of both branches; this also improves inference for built-in types and type-aware rules.
Correctly infers intersections of primitive types with their literal types, allowing type-aware rules to see the literal.
Type-aware rules now narrow unwritten local let/const variables and parameters after typeof, equality, nullish, and truthiness checks, including in branches, short-circuit expressions, and after early returns.
Parenthesizes
inbodies inforinitializers.Traces bindings further to determine whether arguments are bigints.
Checks whether
Booleanis the global before applying the rule.Counts
thisin parameter defaults when checking class methods.Recognize MathML Core and known hyphenated HTML and SVG elements as native elements rather than Vue components in Vue, Svelte, and Astro files.
No longer panics on a composes declaration whose value contains a non-identifier token; it reports a diagnostic instead.
Sorts consecutive property groups independently.
Patterns now match snippets containing a trailing list separator.
Keeps a blank line after a blockquote that ends a list item.
Preserves the blank line after a list item ending in a blockquote or hard line break, preventing a following block from moving into the blockquote.
No longer progressively indents rows of a table inside a blockquote when it follows a multiline paragraph.
Keeps a paragraph in its outer block quote when a quote-only blank line closes a nested block quote.
Normalizes spaces inside inline and reference link text without removing whitespace-only text.
Keeps table rows aligned inside blockquotes.
Wrapped task-list paragraphs are aligned with the text following the checkbox.
Now checks declarations at the top level of embedded CSS templates.
Now checks declarations at the top level of embedded CSS templates.
Now checks declarations at the top level of embedded CSS templates.
Checks declarations inside at-rules such as @page and @font-face, so references to custom properties declared in :root are reported.
No longer reports var declarations inside switch clauses, matching ESLint's no-case-declarations.
No longer reports var declarations.
Fixes handling of TypeScript paths.
No longer reports digit-leading hex colors as unknown units in SCSS custom properties or unquoted legacy IE filter values.
Now checks constructor parameter default values: using this there is reported because it runs before super(), and super() there is recognized.
A comment before a SCSS map entry with a parenthesized group no longer makes that group indent one level too deep.
Biome now detects CSS in styled-components templates using .attrs(), so those templates are formatted and linted like ordinary styled templates.
Svelte {@const} tags with TypeScript type annotations now parse and format in components with script lang="ts".
Object type constraints in Svelte script generics attributes now parse and format as TypeScript type parameters.
Adds the useGlobalRegexInMatchAll lint rule.
No longer reports null-only or undefined-only ternary and if checks when the type can also be the other value, because ?? would change behavior.
No longer reports partial nullish checks.
Detects and fixes infinite for loops.
Biome now parses SCSS negative interpolation list items as separate values instead of an invalid subtraction operator.
Section globs no longer skip the character following a bracket expression; nested-brace section globs are also supported instead of ignored.
Section globs with unbalanced braces now match braces literally, consistent with the EditorConfig reference implementation.
Formatting now preserves parentheses ending an optional chain when a non-null assertion, type arguments, or more parentheses follow, preventing changed behavior or invalid output.
Options under the top-level grit configuration key are now applied, so Grit files use their grit formatter settings rather than global formatter settings.
A single line break between list items is no longer treated as a blank line; formatting no longer adds blank lines between items, while source blank lines are preserved.
The language server skips unchanged dynamic capability registrations, preventing duplicate watched-file notifications in affected editors.
An indented paragraph line starting with -, 1., #, or > is no longer formatted as a list, heading, or blockquote; it joins the previous line, matching Prettier.
Formatting no longer splits a blockquote when an empty > line separates its list items.
Formatting no longer moves a list item out of a blockquote after a nested list item, and preserves > on lines that begin nested blockquotes, headings, or different lists.
Formatting no longer indents an empty > line between a list and paragraph in a blockquote, preventing the paragraph from moving out of the quote.
Fixed code fixes duplicating comments attached to the wrapped expression.
Astro and Svelte formatting now preserves comments and whitespace inside preformatted elements such as <pre> and <textarea>.
With proseWrap set to always or never, Markdown formatting now wraps text inside emphasis, strong emphasis, and strikethrough like surrounding prose; text inside block quotes keeps its current formatting.
Unknown dashed utilities with arbitrary values or CSS variables no longer cause parse errors; useTailwindSortedClasses sorts them like other unknown classes.
The rule no longer reports an anonymous test.describe(callback) as missing a callback and now validates the last argument as the callback for calls with title and details.
Fixed an access violation that could crash Biome when formatting, linting, or checking files on Windows ARM64.
The LSP now warns when the configuration file cannot be loaded.
Synchronizes recess property order and preserves the cascade when sorting CSS properties.
Resolves an imported type merged with a value to the type in annotations.
Open editor files retain their editor text when changed on disk, keeping diagnostics, code actions, and formatting at the correct positions.
The language server now warns when a configuration file cannot be parsed instead of silently stopping file processing.
Open files are parsed again with updated parser options after configuration changes.
The binary now uses its shipped jemalloc instead of musl's allocator, avoiding multi-minute biome check runs on several threads in Alpine-based CI.
Formatting preserves the newline between a block quote and a list.
Continues block quotes inside deep list items.
Markdown table formatting is now idempotent.
Preserves the blank line between a blockquote and a following list, matching Prettier.
Preserves the blank line between a table and a following list, matching Prettier.
Markdown list items with markers indented four or more spaces now nest at the correct level.
With proseWrap set to always, consecutive blockquote lines in deeply indented list items wrap together while preserving heading and code-block structure.
Keeps frontmatter of fenced Markdown blocks when formatting embedded content.
Nests list items by their enclosing content column.
When Markdown frontmatter parsing and embedded formatting are enabled, fenced Markdown frontmatter is preserved as written, including YAML indentation.
Generated pnpm lockfiles are now protected from Biome processing.
Default values in Vue v-for bindings are parsed as JavaScript and formatted and linted like other template expressions.
Fixes parsing of default values in v-for bindings.
Non-JSON files in Zed, VS Code, and Cursor global settings directories are no longer parsed as JSON.
Prints the summary and max diagnostics warning to stderr instead of stdout.
Preserves semicolons and line comments while sorting properties, and sorts properties inside keyframe steps.
Stops exclusion checks above the project root.
Checking the project root no longer applies files.includes exclusions to directories above the project.
Fixes parsing and formatting of executable descriptions and legacy fragment variables, and consistently removes insignificant commas.
Fixes GraphQL parsing and formatting.
Preserves parentheses around looser operands of instantiation expressions, before selected operators and heritage type arguments, and wraps new callees containing import calls.
With proseWrap set to always or never, the formatter no longer drops quote markers after an empty blockquote line.
Preserves the blank line before ordered lists that cannot interrupt paragraphs and retains blockquote markers after an empty quote line.
Preserves a blank line between a paragraph and following list, and keeps quote markers after empty quote lines.
Compares resolved nested selector targets, avoids reports for different targets, recognizes equivalent explicit and nested targets, and emits one diagnostic for repeated expansions.
Reports one diagnostic per repeated title, pointing to the first occurrence and each later occurrence, rather than one diagnostic per duplicate.
Counts grid cells instead of row text length.
Checks SCSS nested properties by their emitted name.
Stops treating a switch without a default as breaking early.
Preserves parentheses around instantiation expressions before operators, non-null assertions, class heritage type arguments, and other instantiation operands so formatted code remains valid.
Checks type annotations to avoid likely false positives.
Fixes migration of useLogicalProperties.
Fixes invalid CSS output when sorting properties without a final semicolon while preserving comments; also sorts properties inside CSS and SCSS @keyframes animations.
Processing instructions such as XML declarations no longer cause parse errors in Astro and Vue files.
Fixed a parser error for shorthand attributes that use an expression instead of a bare identifier.
Commands using the server now report the same diagnostics as runs without the server instead of skipping some files after a pending write.
Successfully migrates empty nested configuration files without introducing an invalid trailing comma.
Now shows the resolved files.includes and files.ignoreUnknown configuration.
Returns as soon as the daemon shuts down instead of waiting 15 seconds and failing with a remote workspace timeout.
Fixes indentation of multiline function arguments preceded by comments.
A comment above a CSS rule no longer removes indentation from the rule's wrapped selector.
Bare if identifiers in CSS if() branch values are parsed correctly.
Accepts Tailwind @custom-variant names that start with a digit, such as 2xl.
Duplicate-name diagnostics identify the duplicated name, highlight its first occurrence, point to repeated occurrences, and report repeated duplicates separately.
CSS metavariables in compound and complex selectors and property names now match intended rules and declarations in GritQL plugins and biome search.
Patterns such as { $key: $value } can now bind metavariables in object keys and values.
Files with the .htm extension are now recognized as HTML.
Fixed a parse error when an attribute named ? comes immediately before the end of a tag.
Sequence expressions returned from return or throw statements are wrapped in parentheses to match Prettier.
No longer duplicates comments inside an empty object, array, or class spread in JSX on each formatting pass.
Fixed errors sent by the Biome language server to the editor with an empty message so logs show the underlying explanation.
Improved diagnostic quality for the listed lint rules.
Rules from a domain set to none now remain disabled when an override configures another rule in the same group.
Type inference resolves properties of mapped types, including generic aliases instantiated with concrete type arguments; key remapping with an as clause remains unsupported.
The rule no longer reports arbitrary modifiers, so bg-black/[0.5] and text-sm/[18px] are valid.
The rule reports @ts-ignore only at the start of a comment or the last line of a block comment, and fixes now rewrite only the directive.
JavaScript assist overrides and HTML parser, linter, and assist overrides are now applied to matching files.
Svelte class: and style: directive modifiers are parsed separately from directive names, and a slash correctly closes the tag.
No longer duplicates binding names when converting redundant bind: initializers to shorthand syntax.
The formatter no longer puts Svelte snippet parameters on separate lines when they fit on one line.
Parenthesized and unary expressions inside arbitrary Tailwind values now parse correctly.
Keeps dashed utility names such as drop-shadow, flex-grow, and max-w-screen intact when parsing Tailwind classes.
Accepts arbitrary variants whose selector starts with an attribute selector.
Accepts CSS variable shorthands whose fallbacks contain parentheses, including in variants and modifiers.
Tailwind @theme at-rules now accept any number of options, including prefix(...).
For loops with truthy literal tests are handled as infinite loops, consistent with while and do...while loops.
Shorthand suggestions avoid invalid or behavior-changing replacements for several utility groups and preserve !important with leading or trailing markers.
The rule now checks only calls to Vue's defineProps macro, avoiding reports for unrelated calls and locally imported functions with that name.
Vue event handlers containing statements are formatted across lines when needed; handlers beginning with a statement are parsed and receive the semicolon Vue needs.
Fixed Astro formatting of embedded content.
No longer adds invalid parentheses around Svelte {@const} declarations when experimental HTML support and formatting are enabled.
Biome no longer crashes when output is piped to a program that exits early; output to the closed pipe is discarded and Biome exits normally.
The CLI no longer crashes when output is piped to a closed pipe.
Type inference now fully lowers Date constructor members.
Disabling one domain no longer disables rules that also belong to another enabled domain; explicitly configured rules also remain enabled.
Fixed incorrect type inference when generic parameters are reused across inherited types or swapped in recursive types.
No longer inserts a space after a within pattern without an until clause.
No longer duplicates comments around Svelte blocks, including comments after blocks and comments before branch or closing tags.
No longer removes the space between text and an inline element on the next line when joining lines.
Regex literals beginning with > no longer terminate self-closing tags; regex literals after keywords such as return are recognized too.
The parser now compares complete opening and closing tag names.
The HTML lexer now treats a regex beginning with > as a regex.
The parser no longer misparses << as type arguments when the closing > is missing.
Long-running workspaces now reflect package manifest and TypeScript path-mapping changes without requiring the importing file to be edited.
No longer reports chained method calls such as builder.image(url).fit("max") as focused tests.
The rule now ignores chained .fit() method calls.
The fix now preserves the string value for octal escapes with a leading digit 4–7.
No longer reports view transition names inside view transition pseudo-elements.
No longer offers a safe fix for return; as the body of an unbraced if, else, or label; safe fixes also preserve surrounding comments.
String concatenation fixes now escape quotes.
Rules enabled by overlapping domains are now preserved.
VCS checks now account for parent ignore files.
The language server now handles relative glob patterns correctly.
The SCSS parser now accepts if inside a url function.
SCSS query values now support unary expressions.
Suppression comments now work on affected parts of HTML-like files and on snippets embedded in JavaScript files.
Comments at the end of a Svelte block's contents are now indented with the contents rather than the following tag.
Formatting now preserves const tag assignment syntax and fixes duplicate or incorrectly indented comments around Svelte blocks.
Tailwind classes in class expressions are now detected.
Tailwind classes are now detected in Svelte, Vue, and Astro class attribute expressions that do not use a class merging function.
Test rules no longer mistake regular method calls named test, it, or describe for tests.
More global types, including Array, Map, and Set, are fully defined, which should decrease false positives on typed rules.
Type-aware rules now resolve members through generic type aliases that instantiate another generic type with a nested generic argument.
Parses f<T> << f<T> as a left shift of two instantiation expressions, matching TypeScript instead of reporting a parse error.
A << expression followed by a later >>> is no longer misparsed as TypeScript type arguments.
The rule now preserves negative index expressions.
The rule now ignores loops that update the index in the loop body.
Removed the React 19 version requirement from the rule.
The rule no longer escapes a slash that is already escaped.
No longer reports boolean literals on the right side of || and && outside boolean contexts, where removing them can change the expression result.
Now evaluates parent directory patterns when matching child paths, preserving re-included directories while ignoring excluded siblings.
Linting now recognizes Vue slot bindings.
Typed slot props no longer produce a parse error, and types in slot prop annotations are recognized as used by noUnusedVariables.
Suppression comments targeting the entire assist category, including biome-ignore-all assist, are respected when running check.
Correctly writes fixes for code inside HTML attribute expressions instead of reporting fixable diagnostics without applying them.
No longer fails with conflicting rule fixes when multiple diagnostics target a declaration preceded by a multiline comment.
No longer modify the wrong part of Vue, Svelte, or Astro files when experimental full HTML support is disabled.
Fixes are now written back to attribute-expression embeds in HTML.
Associates annotations with the correct files when Biome runs from a nested directory.
Files re-included by negation patterns in a nested .gitignore are processed when vcs.useIgnoreFile is enabled, even if the ignore file contains *.
Grit plugin code fixes are now available as editor code actions.
Plugins that use sequential no longer panic when Biome processes files.
Import patterns now match namespace imports, including type-only imports; explicit import type patterns also match type-only named and namespace imports.
Preserves authored segment breaks between CJK characters and next to CJK punctuation instead of replacing them with spaces.
No longer applies native HTML element formatting to PascalCase component names in Vue, Svelte, and Astro files.
No longer applies SVG block formatting to unknown elements whose names match SVG element names.
Fixes redundant parentheses around binary and logical unary operands with leading line comments.
Inserts a newline before the closing angle bracket when a leading comment forces type arguments onto multiple lines.
Avoids extra parentheses and comment movement when formatting multiline expressions after operators such as !.
With operatorLinebreak set to before, own-line comments before binary operators stay above the operator.
Nested gitignore files now honor negation patterns.
Nested gitignore files now honor negation patterns.
Recognizes aliased named imports in single-file components under their local name.
Recognizes React 19.3 DOM properties instead of treating them as unknown attributes.
TypeScript class members using override accessor now parse correctly; accessor override reports that override must precede accessor.
The CSS parser now parses SCSS module variables in media queries.
Applies safe fixes without formatting files that have parse errors when formatter.formatWithErrors is disabled.
Correctly handles dashed utility base names and parses arbitrary values separately while preserving the complete base name.
Multiline template interpolations preserve the closing brace's indentation when source indentation is not a multiple of tabWidth.
Suppression comments now suppress matching HTML lint diagnostics on the following line when full HTML support is enabled.
Fixes parsing of unquoted URLs beginning with @ or ! and preserves escaped and non-ASCII whitespace in raw URLs during formatting.
No longer inserts whitespace between adjacent Svelte expressions when their combined length exceeds the line width.
Infers unannotated callback parameter types from the passed function's signature, honors explicit call type arguments, and avoids unnecessary inference of imported generics and namespace members.
The formatter no longer crashes on multiline expressions in files with CRLF line endings.
Astro expressions now parse TypeScript and JSX syntax, attribute values, comments, text, and embedded script and style contents according to Astro syntax.
Fixes handling of format suppression comments on TypeScript declared class properties with string literal names.
The Language Server no longer starts with debug logging enabled, preventing logs from growing exponentially in long sessions.
Fixes repeated dependency analysis that could lead to long and unresponsive sessions.
The formatter prints declare before accessibility modifiers on class properties, matching Prettier and TypeScript's canonical modifier order.
Biome no longer crashes while parsing malformed delete expressions.
Vanilla HTML no longer reports unsupported text expression diagnostics for double-curly text, and the formatter preserves adjacent curly-brace text.
Biome no longer crashes when linting malformed for...of statements.
Grit plugins can use function = ... as a node argument.
The formatter no longer moves comments next to the < of a generic, avoiding invalid TypeScript syntax.
Biome now parses legacy Internet Explorer filter and -ms-filter values such as progid:DXImageTransform... and alpha(opacity=40).
The configuration schema now correctly provides auto-completion for linter domains.
Recognizes unhandled Promise chains when an imported function's module belongs to an import cycle; cyclic modules preserve types for exports outside recursive type dependencies.
No longer reports Bun runtime built-in modules as unresolved imports.
Exempts any variable whose initializer references props, preventing false duplicate-key reports for derived script setup variables.
Biome preserves Unicode characters when writing source received through standard input to standard output.
Formatting a Svelte render tag followed by an HTML comment no longer duplicates the comment.
Whitespace now always allows the parser to recover from parsing failures and start parsing a new class.
Adjacent elements inside an Astro expression now parse as an implicit fragment instead of raising an error.
Astro templates now accept unclosed HTML void elements.
Re-export patterns now match named re-exports with aliases, inline type modifiers, and multiple specifiers.
The rule no longer reports template assignments to Vue <script setup> bindings whose names match built-in globals.
Biome now parses parenthesized object literals returned from arrow functions when they contain a conditional expression and a nested arrow function.
Files passed through this option now use full HTML support for Astro, Svelte, and Vue when it is enabled.
Variables and imports used as custom Vue directives are no longer reported as unused.
Astro now accepts JavaScript comments between attributes.
Astro now accepts attribute names that start with a colon, such as
:href.An Astro expression containing only a comment is no longer reported as a parse error, allowing the whole file to be formatted.
Empty Astro expressions such as
<div>{}</div>now parse; Astro renders{}as nothing.Astro expressions containing comments now parse, including expressions with a comment followed by a value.
A closing tag inside a string or comment no longer cuts an Astro frontmatter block short.
An Astro frontmatter block no longer ends on a line that merely starts with a dash.
Astro frontmatter is recognized only at the very start of a file; later
---lines are content.The Astro parser recovers from malformed closing tags so later mistakes are reported where they occur rather than cascading.
{{at the start of an Astro expression is parsed as an object literal rather than an interpolation.Astro parses markup and interpolations in
<pre>and<textarea>as ordinary elements, preventing variables used only inside them from being reported as unused.A
<that cannot open a tag is treated as text and needs no escaping.Astro now accepts HTML5 unquoted attribute values containing backticks, equals signs, or quotes.
GritQL plugins now match and rewrite metavariables embedded in quoted strings.
Children of Astro elements carrying
is:raware parsed as raw text;<script>and<style>contents are no longer linted as JavaScript or CSS.Fixed a memory leak that caused memory usage to grow over long editor sessions.
Svelte block openings are now recognized only in Svelte files; sequences such as
{#if x}are ordinary text in HTML, Vue, and Angular files.Biome no longer crashes when parsing incomplete
{let}or{const}declarations in Svelte files.The rule no longer reports Vue event handlers such as
@click="count++".Variables and imports used by Vue same-name bindings such as
:disabledorv-bind:disabledare no longer reported as unused.TypeScript path mapping targets without ./ are now resolved relative to their configured path base.
The CSS parser recovers at declaration boundaries after bogus declarations, allowing subsequent valid declarations to be parsed.
The CSS parser accepts Tailwind container-query variant names such as @xl and @max-xl in @variant.
Whitespace handling is corrected for marquee, noscript, video, audio, and object elements.
The formatter preserves meaningful blank lines, including spacing after elements with trailing spaces and blank lines between comment groups.
Parent tag wrapping is corrected when an HTML element starts or ends with a block-like or hidden child such as source, track, or param.
Invalid CSS declarations in HTML style attributes now produce parser diagnostics instead of causing a panic.
Wrapping accounts for the width of an adjacent closing tag, avoiding lines that exceed the configured width.
The rule now recognizes Vitest Browser Mode expect.element() calls as assertions.
SVG parsing now works for files with an XML declaration followed by a PUBLIC doctype.
The Tailwind parser now understands modifiers on bare utilities, including @container/sidebar and shadow/50.
The Tailwind parser now accepts the legacy leading ! important marker.
Biome no longer crashes with an access violation when analysing files on Windows ARM64.
CSS block comments between a declaration colon and value now preserve their source indentation.
CSS formatting keeps comments inside functional pseudo-classes and pseudo-elements instead of moving them before the function name.
Patterns with multiple metavariables now match snippets consistently in WebAssembly.
Svelte files now parse correctly when an expression begins with an object literal.
Preserves source indentation for line comments between a declaration colon and value.
Improves formatting of long block comments between comma-separated property values.
Preserves the configured trailing newline when a file ends with a comment.
Chooses an attribute quote character by counting quotes in the value; quote entities count as the characters they represent.
Keeps a blank line between an element and following text.
No longer prints a comment twice when it ends the line of the last element in a document.
Preserves the source content of textarea, xmp, and plaintext elements instead of collapsing their whitespace.
Suppression comments now suppress the rule in HTML files when an element's attributes span multiple lines.
Now recognizes Vue's :deep() pseudo-class inside .vue style blocks.
Now chooses the same function overload as TypeScript when an argument is a callback, allowing previously missed conditions to be reported.
No longer reports imports referenced only inside a Svelte attachment as unused.
No longer reports variables referenced only inside a Svelte attachment as unused.
CSS parsing of registered custom properties now correctly validates the
syntaxdescriptor.CLI stdin mode now applies the nested configuration for the supplied file path and warns when that path is ignored.
The HTML formatter now formats Svelte files containing an array pattern that skips a position.
Now detects unsorted classes in static member expression tagged templates such as tw.div templates.
Resolves bare functional utilities with defaults in sort_v4.
Vue custom blocks and templates written in another language are no longer parsed as HTML; their content is printed unchanged while the opening tag is formatted.
Fixed YAML plain scalar # and alias name lexing, and property attachment across lines in block mappings.
Fixed non-idempotent formatting on Svelte files that added indentation to multiline template literals and block comments on each run.
Fixed preservation of escaped attribute newlines without breaking parent groups.
Fixed formatting for multiline function arguments preceded by comments.
Biome correctly parses curried arrow functions in ternary consequents when the inner arrow's parameters use a destructuring pattern.
The HTML parser now accepts mixed-case doctype declarations.
Suppresses diagnostics when return-type comparisons cannot complete, instead of suggesting a return type from partial information.
Its quick fix now preserves operator spacing when simplifying or inverting boolean ternary expressions.
The reporter now populates each diagnostic's severity as
ERROR,WARNING, orINFO, so consuming tools need not assume a default.The CSS parser now handles hyphens in SCSS parent selectors.
The HTML formatter no longer duplicates comments directly before Svelte
{@const ...}or{@debug ...}blocks on successive writes.Svelte
{#each}array destructuring no longer includes spaces inside square brackets, and multiline bind function expressions indent correctly.More inferred types are resolved; for example,
noFloatingPromisesdetects floating Promises returned by aliased callbacks and arrays of Promises created by async mapping callbacks.Logs no longer dump information irrelevant to user operations.
Corrects casing for syntax-owned CSS names while preserving author-defined names, including scoped keyframes and container scroll-state queries.
Keeps comments between declaration values and !important in the correct position.
Preserves comments on the correct side of selector combinators and before declaration blocks, and keeps fitting selectors with escaped newlines inline.
Biome no longer removes embedded styles and scripts in HTML files.
Closing one editor no longer stops a shared Biome daemon used by other editors; proxy processes exit when either the editor or daemon disconnects.
Space-indented bullets can interrupt paragraphs in block quotes.
Suppresses diagnostics when stringification inference cannot complete, avoiding reports based on partial type information.
Type-aware rules no longer panic when checking calls to functions with multiple call signatures imported from another module.
Suppresses diagnostics when Promise inference cannot complete, rather than treating incomplete type information as definitive.
Detects Object.fromEntries, Object.defineProperty, and Reflect.defineProperty calls even when comments occur between their tokens.
The HTML/Vue parser accepts the valid argument-less v-bind shorthand, including its longhand form, instead of crashing.
An orchestration fix prevents deadlocks when type-aware rules are enabled.
Accounts for shorthand attributes when computing implicit ARIA roles, avoiding false positives in Astro and Svelte files.
Recognizes bigint zero indexes.
Suppresses diagnostics when thenable inference cannot complete, rather than treating incomplete type information as definitive.
The rule now detects missing cases in unions of bigint literals and compares bigint spellings by value.
Recognizes specialised tuple element types returned through generic aliases.
Suppresses diagnostics when nullish inference cannot complete, avoiding reports based on partial type information.
The action no longer triggers for HTML instructions.
The Markdown parser now handles whitespace after list markers.
A module-inference regression introduced by a housekeeping change was fixed.
On-type formatting no longer moves comments before an if statement into its body.
Svelte directives no longer produce an accidental debug log.
Starting a newer daemon now removes stale Unix daemon sockets left by older Biome versions.
Astro shorthand attribute syntax is now correctly parsed from embedded nodes.
The parser now recovers when unsupported CSS Modules @value rules end at EOF instead of panicking.
Format-on-type no longer inserts stray whitespace after closing delimiters such as ), ], and }.
Checking or linting HTML files with unquoted attribute values no longer crashes.
The Biome Language Server no longer deadlocks when the scanner is enabled.
The Markdown formatter gains additional compatibility improvements.
Svelte store subscriptions in templates now keep the underlying store binding from being reported as unused, and write-only $bindable() props are no longer reported.
The command now reports timings for each plugin separately as plugin/<pluginName> instead of aggregating them under plugin/plugin.
The parser now recovers when scoped @keyframes names end at EOF instead of panicking.
Inference for built-in globals and indexed function calls is more accurate, including Error calls, optional Error#stack, and calls through indexed function values.
No longer incorrectly analyzes .scss files.
No longer incorrectly formats snippets that have parsing errors.
Enables project or type-aware lint rules in the language server when they are explicitly enabled.
Preserves trivia when migrating the deprecated recommended option to preset.
Respects --config-path and BIOME_CONFIG_PATH when loading Biome configuration.
Detects running Biome daemon pipes on Windows.
Keeps a selector before a // line comment inline when formatting selector lists with allowWrongLineComments.
The CSS parser accepts nesting selectors with & as a trailing sub-selector after a type selector.
GritQL patterns now accept positional (unkeyed) arguments.
Correctly handle dynamic attributes.
Parses space-and-tab-indented sublists as nested list items.
Recognizes chained table tests such as test.concurrent.each() and it.concurrent.each() as test calls, fixing false positives and improving formatting.
Avoids false positives for Svelte components with both script module and script blocks by treating their bindings as a shared top-level scope.
For Svelte, Vue, and Astro files with html.experimentalFullSupportEnabled, no longer reports bindings used only in templates as unused.
The CSS parser accepts Tailwind @variant and @utility names that start with a digit.
The formatter preserves parentheses around await or yield expressions used as the target of an instantiation expression, avoiding changes to code meaning.
Recognizes a value with a callable then member as awaitable, including custom thenables that are not the global Promise.
Accepts Vue 3.4+ same-name shorthand :foo and v-bind:foo as equivalent to :foo="foo".
The GitLab reporter now handles verbose diagnostics filtering correctly.
Shuts down correctly when the editor closes during an in-progress operation, especially while scanning.
Improves loading multiple configuration files inside a workspace.
No longer prints an error when hovering a variable imported from node_modules.
No longer emits an invalid trailing comma when a renamed rule is the last member of its group, avoiding migration failures for strict-JSON biome.json files.
Formats comments between import media queries inline with the media query instead of placing them on a separate line.
Escapes backslashes in diagnostic location paths so the reporter emits valid JSON for paths such as Windows-style paths.
Biome plugins are now properly filtered when this flag is used.
The parser now correctly parses processing instructions, so SVG documents containing an XML declaration no longer throw errors.
CSS declarations with comments before : or after !important now preserve spaces before : and ;.
The CSS parser now accepts comma-separated composes values.
The CSS parser now accepts comma-separated selector lists inside these pseudo-class functions.
CSS formatting keeps grid area rows aligned when comments precede multiline values.
Biome no longer rejects literal \u sequences in quoted HTML attribute values.
Reports a more precise range for the @ts-ignore comment.
The Svelte parser now accepts object destructuring with property renaming in each bindings.
The parser now accepts TypeScript as const assertions in each block iterable expressions.
Improves lint accuracy for interpolated quoted attribute values, eliminating false positives in noRedundantAlt, useButtonType, and noScriptUrl.
The parser now accepts these blocks without a binding, as well as the await shorthand forms.
Biome no longer crashes with a stack overflow on certain code when type-aware rules are enabled.
No longer reports false positives for Vue v-bind shorthand ARIA bindings.
The rule no longer reports argument-less v-bind directives that cannot be converted to shorthand syntax.
The rule now reports diagnostics only in Vue files and ignores SVG elements.
Vue event handlers with multiple inline statements are now parsed consistently with Vue.
Diagnostics in Astro files now show the correct location.
Biome no longer adds newlines to Astro frontmatter when linter or assist write mode is enabled.
The enabled rules list now includes rules enabled through linter domains.
Comments around declaration colons now stay at the same boundary as Prettier.
Fixed parsing of CSS custom functions in SCSS.
Comments no longer cause the formatter to split closing tags and produce syntactically invalid HTML.
Fenced code blocks now terminate at list-item boundaries.
List blank-line separators now stay inside the preceding item.
Fixed parsing of ordered sublist continuation.
Fixed Markdown parsing of tab-indented siblings.
Fixed diagnostics emitted by this rule.
The SCSS parser now allows omitting the final semicolon in at-rules.
Fixed formatter handling of control variable maps in SCSS map expressions.
Fixed classification of interpolated query feature ranges.
Fixed preservation of blank lines between SCSS map pairs.
Fixed alignment of commented SCSS map value layout and map comment trailing commas.
The formatter now preserves raw SCSS string interpolation.
Fixed sorting of Tailwind v4 arbitrary values.
The rule now detects negated guard inequality chains such as
!foo || foo.bar !== "x".Formatting standalone interpolations in inline elements now preserves existing newlines.
Fixed lexing and parsing of aliases used as mapping keys.
Fixed panics during YAML linting.
Preserves child line breaks when an element contains another element child on its own line, instead of collapsing that child onto the same line.
Correctly parses
ofas text content when in text contexts.Fixes parsing of indented reference continuations, quoted ordered-list interrupts, lazy continuations, empty reference paragraphs, fence info strings, and related emphasis and thematic-break cases.
Diagnostics are more detailed and precise, and better localize where an issue occurs.
No longer reports class properties as readonly-able when they are assigned inside arrow callbacks nested in class property initializers.
Templates with missing expressions are no longer parsed as
HtmlBogusElement.Correctly migrates ESLint rules that correspond to multiple Biome rules.
Adds support for the corner-shape family of CSS properties and the
superellipse()andsquircle()value functions, so unknown-property and unknown-function rules do not flag them.Prevents compounded or unnecessary indentation in nested functional pseudo-classes and wrapped pseudo-class argument lists.
Preserves source line breaks for exclusively non-text children instead of collapsing inline elements, Svelte expressions, or comments onto one line.
The HTML parser emits one clear diagnostic when a void element has a closing tag, rather than multiple diagnostics with conflicting advice.
The parser accepts surrogate code points in JavaScript string
\u{...}escapes.The HTML formatter preserves multiline formatting for nested template elements when their children are on separate lines.
Correctly recognizes assignments in Svelte
{@const}blocks as declarations rather than accidental assignments in expressions.Treats
@scopeas a separate at-rule context, preventing false duplicate-selector reports across scope boundaries.Recognizes variables declared by Vue
v-fordirectives and references to iterated values in templates.Recognizes variables declared by Vue
v-fordirectives and references to iterated values in templates.Ignores blank-line groups between never-matched groups and matched groups, preventing unintended blank lines in organized imports.
Correctly parses method calls and other parenthesized expressions used as keys in Svelte each blocks.
Resolves Svelte
$storereferences to their underlying store bindings in semantic analysis, preventing false undeclared-variable diagnostics.The parser no longer crashes on missing Svelte template expressions.
The migration command detects rules from
@eslint/cssin ESLint configurations more reliably.Reports the opening tag instead of the full tag for several HTML-related lint diagnostics.
Parses nested CSS rules correctly when declarations follow them inside embedded snippets.
No longer panics when parsing files containing
{#}.Correctly recognizes TypeScript in Svelte script blocks when the generics attribute contains
>characters.Parses functions declared inside Svelte #snippet blocks without throwing errors.
Added extra rule sources from react-xyz to improve detection of rules in ESLint configurations.
Biome now parses and formats @media and other conditional blocks correctly inside embedded CSS snippets.
Biome now parses nested CSS selectors correctly inside embedded snippets without requiring an explicit &.
The command is now idempotent on HTML-like files containing scripts and styles.
Type-aware lint rules now resolve members through Omit<T, K> utility types.
Type-aware lint rules now resolve members through Partial<T>, preserving optional, readonly, and nullable member flags.
Type-aware lint rules now resolve members through Pick<T, K> utility types.
Type-aware lint rules now resolve members through Readonly<T>, preserving optional, readonly, and nullable member flags.
Type-aware lint rules now resolve members through Required<T>, preserving optional, readonly, and nullable member flags.
Biome now supports parsing member expressions in Svelte directive properties, including deeply nested forms.
Biome now parses Astro attribute shorthand inside .astro files without reporting a parse error.
Astro frontmatter now correctly parses regular expression literals such as /\d{4}/.
The command is now idempotent on HTML files containing embedded style or script blocks and no longer reports a file fixed when its content did not change.
Trailing comments after a top-level format suppression are now preserved in JavaScript, CSS, HTML, JSONC, GraphQL, and Grit files.
Grit queries using native Biome AST node names and native field names now compile successfully.
Comments after the colon in CSS property declarations are now kept after the colon instead of being moved before the property name.
The parser diagnostic for disabled Vue syntax no longer refers to the nonexistent html.parser.vue option.
Syntax errors are no longer printed twice or counted twice.
Now correctly excludes warnings and infos from output and summary counts when set to error.
No longer crashes when files mix formattable CSS-in-JS templates with tagged templates the embedded formatter cannot delegate.
Now detects env when it is imported from process and node:process.
No longer reports false positives for TypeScript namespace declarations merged with an exported or used value declaration of the same name, in either direction.
No longer causes suppressions/unused warnings for suppression comments targeting skipped rules or domains.
Fixed parsing and formatting of nested destructuring patterns in Svelte #each blocks.
Biome handles ambient module signatures that reference local type aliases without crashing during semantic analysis.
Correctly parses object expressions inside Astro props and directives.
Parses conditional expressions whose consequent is an arrow function returning a parenthesized object expression.
Grit patterns using this form now match named re-exports in JavaScript and TypeScript files.
Preserves empty blocks containing comments, which may include TODOs or commented-out code.
The Biome Language Server no longer panics when open files change abruptly, such as during git branch checkouts.
Treats static and instance methods as separate overload groups, avoiding false positives when methods share a name.
Parses object literals in directive values such as :class, v-if, and v-html as expressions instead of JavaScript statements.
The LSP now correctly reads editor settings wrapped in a top-level biome key, so requireConfiguration and related settings are not ignored.
The LSP server no longer crashes on startup when a client omits workspaceFolders and sends only rootUri.
Regex literals containing quotes or dashes in Astro frontmatter no longer cause parse errors.
No longer falsely reports correctly formatted Svelte and Vue files as changed when
html.formatter.indentScriptAndStyleis enabled.Script tags with
speculationrulesandapplication/ld+jsontypes are skipped because they contain non-JavaScript content.The resolver now prioritizes more specific
exportspatterns over less specific ones, preventing resolution failures for overlapping subpath patterns.Removes an extra space before
>whenbracketSameLineis true and the self-closing slash is absent.The parser no longer reports
---inside element content as an unexpected value or character.Fixes an LSP crash that could corrupt file content when saving with format-on-save enabled.
Fixes formatting for Markdown hard lines.
The rule no longer panics when it encounters constructor overloads.
Variables used as
typeoftypes are no longer flagged as unused.Attributes with text expressions such as
class={buttonClass()}are now correctly tracked in Svelte files.Formatting is fixed when a comment appears after => in a TypeScript arrow function.
Biome now resolves
.gitignorerelative to the configured VCS root instead of always looking in the workspace directory.Detects rules in ESLint configurations more accurately using additional rule source references.
The LSP correctly resolves the project directory when this points to a configuration file outside the workspace.
Tabs render at a consistent width across context and changed lines, fixing visual misalignment in diffs for tab-indented source.
The formatter no longer crashes or produces corrupt output for JS files containing non-embedded template literals alongside embedded ones.
No longer mangles elements followed by self-closing elements such as
<br>or<img>.Correctly recognizes destructured bindings as declarations and no longer flags them as shadowing in sibling scopes; also avoids flagging parameters in TypeScript overload signatures.
No longer erroneously flags props used only in the template section of Vue SFCs.
Avoids false positives for JSX element references in Astro, Vue, and Svelte templates and for local variables shadowing a used imported type namespace.
No longer reports a false positive when a local variable shadows an imported type namespace that is still used in a type annotation.
Improves variable detection in Astro files so this rule and others trigger fewer false positives.
The type inference engine resolves Record types as object types with index signatures, improving accuracy for type-aware lint rules.
Temporal is now correctly detected as a global.
CSS parser recovery produces clearer diagnostics for invalid unicode-range values mixing wildcard ranges with range intervals.
Correctly handles Vue dynamic
:altandv-bind:altbindings, preventing false positives in Vue files.Biome no longer panics when this rule is configured using an object.
Avoids false positives for values referenced as JSX elements in Astro, Vue, and Svelte templates.
No longer suggests
<output>for status and alert roles or reports diagnostics when semantic elements already have their corresponding role attribute.Biome parses Tailwind utility names containing
/when Tailwind directives are enabled.The Biome language server correctly resolves the editor setting when its value is a relative path.
Formatting a case clause with a trailing line comment followed by a single block statement no longer produces different output on subsequent runs.
Lowercase component member expressions such as <form.Field> in Svelte and Astro files are now correctly formatted.
No longer reports code inside finally blocks as unreachable when the corresponding try body contains a break, continue, or return.
The code fix now moves comments along with the attributes.
Disables colors in GitHub Actions so workflow error and warning commands are not wrapped in ANSI escape codes.
Improves detection of rules in ESLint configurations.
Adds parsing support for scroll-state container queries and their associated query syntax.
The CSS formatter no longer inserts an unwanted space between
scroll-stateand its opening parenthesis.Removes false-positive diagnostics for valid general-enclosed queries.
No longer incorrectly breaks ratio values across lines when they are followed by comments.
Preserves line breaks between comments and selectors in BOM-prefixed CSS files.
Escapes quotes, backslashes and control characters in diagnostic messages and advice so output remains valid JSON.
Includes the command duration in JSON reporter output.
Correctly detects test framework calls with three arguments, including an options argument, fixing formatting and linting for frameworks such as Vitest.
Stops incorrectly flagging functions and variables defined in Vue
<script setup>, including bindings used in templates.Resolves Node.js
node:built-ins, packages usingtypings, aliased re-export chains and namespace re-exports without false positives.No longer flags keys under
watch, eliminating false positives.Prevents panics when nursery rules are configured with a
levelbut without correspondingoptions.JSON reporter output is now written to the specified file instead of always going to stdout.
The HTML parser accepts JavaScript-style comments inside tags in Svelte files.
Recognizes
assert,expectTypeOfandassertTypeas valid assertions, preventing false positives fromuseExpectand similar lint rules.Improves type inference for re-exported functions and values, enabling affected rules to detect issues with re-exported imports.
Diagnostics now name the variable that should be added to the dependency array.
Astro files containing
---in HTML content are now parsed correctly, whether or not a frontmatter block is present.The HTML parser now correctly parses bracket characters in text content.
The rule no longer flags assignments in Vue v-on directives, allowing idiomatic assignments in event handlers.
The parser treats
useandstyleas plain text when they appear as text content in HTML or Svelte files.The Vue parser handles colon attributes such as
xlink:hrefandxmlns:xlinkas single attributes.The HTML parser now correctly parses Astro directives, fixing their formatting.
The frontmatter lexer correctly identifies the closing fence when comments or strings contain quote characters.
The CSS parser now correctly parses not + scroll-state inside @container queries.
The GitHub reporter is now correctly enabled when biome ci runs on GitHub Actions.
The Test domain now includes Mocha BDD and TDD globals that were previously flagged as undeclared variables.
The rule no longer reports closedby as an unknown attribute on dialog elements.
No longer reports a top-level Props interface or type alias as unused in Astro files.
No longer incorrectly flags imports used in Svelte control flow blocks as type-only imports.
No longer reports false positives for known pseudo elements in CSS modules.
Reverts changes that caused unwanted changes to how paths are resolved.
Fixes incorrect processing of SCSS files, a regression from work to support SCSS out of the box.
Fixes a regression where Biome printed nothing in stdin mode.
The Biome language server now correctly handles the
configurationPathsetting supplied by the editor extension.With full support enabled,
useConst,noUnusedImports,useImportTypes, andnoUnusedVariableswork better in Vue, Svelte, and Astro files, reducing false positives.Biome respects jsxFactory from tsconfig.json with the classic JSX runtime, preventing false-positive noUnusedImports errors for custom JSX libraries.
Biome respects jsxFragmentFactory from tsconfig.json with the classic JSX runtime, preventing false-positive noUnusedImports errors for custom JSX libraries.
The rule no longer recursively traverses
titleelements.In Svelte files, variables defined in JavaScript blocks and used inside templates are now detected correctly.
Correctly handles
toRefs(props)patterns and avoids false positives when destructuring props, particularly in<script setup>blocks.Plugin diagnostics in Vue, Astro, and Svelte files now account for template or frontmatter offsets and point to the correct location in the
<script>block.Adds proper parsing and formatting for Svelte directives when
html.experimentalFullSupportEnabledis true.Adds proper parsing for spread attributes such as
{...props}in Svelte and Astro files.Biome now accepts Vue's
v-bind()function in CSS when Vue CSS modules parsing is enabled.When a package configuration extends the root with extends: "//", glob patterns are resolved relative to the project root, so globally excluded files are not processed from a workspace directory.
Text expressions at the top level of an HTML document no longer cause panics.
No longer reports a false positive when an assignment is used as the expression body of an arrow function.
With javascript.jsxRuntime set to reactClassic, allows importing the React identifier from a package other than react.
When removing the last import in a TypeScript file, adds export {} to prevent the file from becoming an ambient module; embedded Vue, Svelte, and Astro scripts are excluded.
No longer reports async generator functions that use yield*, because delegation requires the async modifier.
No longer reports false positives for await on call expressions whose return type cannot be resolved.
Restores reporting the full member expression as a missing dependency for method calls on objects, rather than reporting only the object.
No longer reports false positives for variables destructured from a rest pattern.
Correctly detects JSX component identifiers as hook dependencies.
Does not run inside Map constructors.
Improves CSS if() function parsing recovery.
Improves parsing recovery when encountering qualified rules inside CSS @page at-rule blocks.
No longer crashes on a < character followed by a digit in text; it emits an Unescaped < bracket character error instead.
Recognizes the CSS sibling-count and sibling-index functions.
No longer triggers for optional fallback patterns.
Indents comments after the equals sign in type aliases whose generic parameters have extends constraints.
Preserves quotes when a type member is named new.
Corrects dependency suggestions to omit callback-scoped variables and method names, recognize stable hook results declared with let, and avoid false positives for destructured props and increment or compound-assignment expressions.
The summary reporter no longer incorrectly merges rules or displays incorrect issue counts.
The rule now allows modifiers for all possible keyboard events and performs better when there are no violations.
Tailwind functional utility names like
px-*now parse when Tailwind directives are enabled.Biome now parses Vue dynamic slot shorthand arguments that use template literals in brackets.
Biome now parses Astro files with empty frontmatter blocks.
Arrow-function GritQL queries with a
parametersmetavariable are now handled without throwing an error.Recovers slightly better when a semicolon is missing from Tailwind's
@applyat-rule.Can now parse directive modifiers with a single colon, such as
@keydown.:.Reduces false positives on common CamelCase identifiers by using average run length in entropy calculations.
Ignores type parameters declared in ambient contexts such as
declare moduleblocks.No longer reports exported variables initialized to
undefined, a pattern used to declare optional component props in Svelte 4.Fixes Vue conditional-rule handling related to whitespace, newlines, and self-closing tags.
Components in Vue, Svelte, and Astro files are now parsed correctly when their names match self-closing elements.
The CSS parser now accepts multiple comma-separated parameters in this pseudo-class.
Preserves whitespace after some elements and embedded expressions, more closely aligning with Prettier's behavior.
Adds a space before /> in self-closing elements, bringing formatting more in line with Prettier.
Fixes parse errors caused by certain keywords inside HTML tag text.
Removes the next/script component name check because it is a default export.
Resolves false-positive errors for safe boolean expressions in variable declarations, while some fixes remain pending.
Handles repeated object property access and assignments without exceeding the internal type limit.
The rule now properly handles aliased destructured object keys when using stableResult configuration.
The command now correctly detects react/jsx-no-leaked-render in ESLint configurations.
Fixed a regression in how the rule flags extra non-null assertions.
Fixed the nursery rule.
The rule no longer reports redeclarations for infer types in conditional types.
Fixed handling of characters that contain multiple code points when running in stdin mode.
The semantic model now indexes TypeScript constructor method definitions and no longer panics when one is used.
The parser now allows return statements in Astro frontmatter.
The parser now allows async as a class member name.
GritQL patterns can now handle name, type_arguments, and attributes slots for JsxOpeningElement and JsxSelfClosingElement without errors.
The flag no longer throws a No such file or directory error when a file has been deleted or renamed; nonexistent files are filtered out before processing.
The CLI now resolves configurations from parent paths.
Tracks constructor parameter properties, improving analysis that depends on this information.
With Tailwind directives enabled, the parser no longer errors on values such as prefix(tw) in @import at-rules.
Return statements in Astro frontmatter no longer trigger Illegal return statement errors when this option is enabled.
Reloads files from disk on save to prevent stale diagnostics.
Plugins defined in child configurations with extends: "//" now work correctly.
The CSS parser skips Tailwind syntax in @import.
The affected rule now ignores attributes and shows diagnostics only for JSX expressions, preventing false positives.
The rule detects when extended configurations already include the catch-all ** in files.includes and suggests removing it from user configuration.
Improves the rule's handling of exceptions.
Avoids false positives on identifiers that are not hooks.
The rule now allows separate non-null assertions on opposite sides of an assignment while continuing to flag nested assertions.
Tracking TypeScript constructor parameter property types resolves certain false negatives in this and other typed rules.
Fixes false-positive errors reported by the rule.
No longer flags separate non-null assertions on assignment sides.
Fixes the spelling of prefers-reduced-transparency in the rule.
The rule no longer flags anything in @plugin when the tailwindDirectives parser option is enabled.
Does not flag properties inside @plugin.
The check is now ignored when the root selector is used under View Transition pseudo-elements.
Allows root when it appears under ViewTransitions pseudo-elements.
Detects JSDoc tags on object properties when checking for unused imports.
Allows
() => undefinedwithout reporting it as useless.Formatter, linter, and assist settings now inherit global configuration when they are not explicitly specified in an override.
Overrides now inherit the enabled state from the global configuration.
Relative plugin paths are now resolved from the configuration file directory, including when configurations are merged.
Fixes HTML formatter behavior for style tags with a lang attribute.
Biome now updates documents when it receives this notification.
Tracks scope for TypeScript construct signature type parameters.
Fixes multiline autofixes produced by the rule.
No longer suggests invalid JSX text conversions.
Removes spurious errors on dependency-first custom hooks.
The rule now ignores a CSS variable used as the last value in font-family or font declarations.
Emits diagnostics for invalid Vue shorthand syntaxes.
The migration command should better detect rules in ESLint configurations.
Commands now apply the configuration file selected by --config-path when multiple root configuration files exist.
GritQL queries now properly handle name and value metavariables for JsxAttribute.
Logs, including those produced at info level, are no longer discarded.
With propertyAssignment set to deny, the rule no longer reports a parameter used as the right-hand value of an assignment to a local variable's property.
Corrects false positives and false negatives when handling large hex literals.
The HTML parser can now parse Vue v-slot shorthand syntax when Vue directives are enabled.
The HTML parser now correctly parses Vue event handlers containing a colon.
Range suppressions now handle suppressed categories properly.
CSS formatting now uses the correct casing for Q, Hz, and kHz dimension units.
The auto-fix action now places await after a leading comment.
The rule now ignores script tags with type="module" because these are always non-blocking.
The rule no longer triggers for variables mutated inside a module; it is now marked as inspired.
The inference engine now resolves types for variables assigned multiple values.
When parsing Vue, now handles directives without arguments, modifiers, or initializers without treating subsequent valid attributes as bogus.
No longer reports uses of ambient variables before their declarations, ignores TypeScript declaration files, and reports invalid use of classes, enums, and TypeScript import-equals before declaration.
Detects recursion by comparing function bindings rather than names, avoiding false positives when a same-named method calls an outer function.
The code fix with checkAllProperties enabled no longer inserts a newline between readonly and the class property.
The HTML parser now handles Vue directives with dynamic arguments as dynamic rather than static arguments.
Fixed an issue with support for advanced SVG props.
Biome keeps a blank line after the frontmatter section in Astro files.
The command should better detect rules in ESLint configurations after correcting a rule source reference.
With tailwindDirectives enabled, the CSS parser accepts selector lists and at-rules such as @media and @supports in @custom-variant shorthand syntax.
The GitLab reporter now outputs format errors.
The Biome Language Server no longer enables its project file watcher when no project rules are enabled; nested configuration and ignore file watching is delegated to editors whose LSP spec supports it.
Fixed parsing of Tailwind class names including inset-x and border-slate-500.
The rule no longer diagnoses or offers to fix functions that reference the arguments object, which is undefined for arrow functions.
Comments inside quoted strings are no longer treated as actual comments, preventing premature termination of Astro frontmatter parsing.
When enabled, Biome correctly detects and parses
lang='tsx'andlang='jsx'languages inside.vuefiles.Rule options are merged with inherited options from a shared configuration, so overriding one option no longer resets the others to their defaults.
With
tailwindDirectivesenabled, the CSS parser now parses@source inline("underline");.Fixes lexing for Tailwind variants that start with numbers.
The parser correctly parses Astro frontmatter even when a triple fence is inside quotes.
Biome preserves component tag name casing in Svelte, Astro, and Vue files.
The Biome Language Server no longer returns an internal error when the formatter is disabled in the configuration.
The HTML parser handles Unicode BOM characters at the beginning of files for proper parsing and tokenization.
Backquotes are escaped in an MDX context.
The CSS parser correctly handles @slot when tailwindDirectives is enabled.
Properly matches a Grit plugin code snippet with only one child.
Biome parses
<script>tags as TypeScript when analysing.astrofiles.The ci command now recognizes the new CSS parsing arguments.
The CSS parser correctly parses
--*: initial;whentailwindDirectivesis enabled.The disabled text expressions error message now refers to the correct HTML parser option.
The CSS parser accepts
@pluginoptions whentailwindDirectivesis enabled.The CSS parser correctly parses Tailwind source exclude syntax when
tailwindDirectivesis enabled.The HTML parser now accepts Svelte attribute shorthand syntax in
.sveltefiles.Workspace folder changes now apply incrementally instead of replacing the entire folder list.
files.maxSize now uses the nearest configuration instead of always reading the root settings.
The LSP server now loads extension settings before the configuration file when opening a text document.
The rule no longer panics on a single-dollar-sign name that does not match a custom convention.
The CSS parser now lets @utility parse declarations and rules.
Biome now detects infinite loops caused by conflicting rule fixes.
Improved the rule's diagnostic message.
The rule now keeps leading trivia when applying its fix.
Fixed the duplicated --bracket-spacing flag between global configuration and the JavaScript language-specific override.
Fixed the environment variable so it is correctly picked up.
Fixed loading configurations passed through --config-path when the path begins with ./.
The explain command now displays the diagnostic category when explaining a rule.
The command now skips files with syntax errors and continues formatting valid files; skipped errors are reported as information.
Passing --max-diagnostics=0 now returns a nonzero exit code when errors are emitted.
Now respects Biome's configuration file during migration.
Now skips files that do not match the pattern's target language.
The flag now prints paths relative to the working directory.
The option now works as expected when a comment precedes the last JSX attribute.
The LSP no longer identifies
.cjsfiles as ESM files, preventing incorrect diagnostics for rules such as noRedundantUseStrict.Improved error handling for the container at-rule.
Fixed selector whitespace and indentation around comments, improved number formatting, and made compound selector formatting more consistent.
Fixed CSS lint handling of :global when CSS modules are enabled.
Ignored files are no longer incorrectly tracked.
Biome now correctly parses .editorconfig files with character classes in glob patterns.
Fixed import merging that could emit broken code when organizing imports.
EditorConfig now accepts
indent_size = tabwithout an error.EditorConfig files can now use
insert_final_newline = unsetwithout a parsing error.Fixed a parsing error when a JSX element name is a JsxMemberExpression preceded by a JsLogicalExpreesion without a semicolon.
The LSP server now returns correct text edits for rangeFormatting and onTypeFormatting requests.
Fixed handling of .mjs extensions in Node.js packages whose package.json declares type: commonjs.
The rule now reports calls to Object.assign.
No longer panics on an unterminated Unicode escape sequence.
Fixed lint errors involving @supports and prevented the rule from triggering on properties inside @keyframes.
The rule no longer panics on some incomplete code snippets.
Now detects focused tests inside loops.
Fixed false positives for container-name.
The rule now accounts for :global when cssModules is enabled.
No longer reports pseudo classes following a WebKit scrollbar pseudo element.
The rule now correctly checks names of pseudo-element functions.
No longer reports the \${ escape in template literals.
The rule now detects fragments inside JSX elements and conditional expressions, and its fix no longer removes more than the fragment.
Now handles JsxAttributeInitializerClause, preserving fragments inside expressions such as
<A b=<></> />.Setter parameters containing a trailing comma are now parsed correctly.
The fix no longer breaks function bodies that start with {.
Preserves directives when converting a function expression to an arrow function.
Preserves curly braces when forbidden characters
>,",', or}are detected.No longer reports an identifier bound by both a variable and a type.
The rule now detects components wrapped in memo and forwardRef, handles property accessors correctly, and avoids false positives for hooks at the top level of class methods.
The rule no longer suggests renaming top-level variables in global declaration files and accepts character escapes at the start of a regex group.
Correctly handles useless escaped characters in string literals and suggests a valid fix when a pattern contains an escaped slash.
The rule's code fix is now marked safe and its error message was improved.
No longer recommends role="searchbox" instead of role="search".
The CSS lint rule now skips unknown properties.
Some files in the .vscode directory are no longer incorrectly parsed as JSON.