unstale

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

@unstale/cli on npm

@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.

    2.6.8release notes

  • Biome now reports an error when configured plugins are unavailable during analysis instead of silently skipping them.

    2.6.7release notes

  • Removes the semantic() query function from the JavaScript plugin API; pass { semantic: true } to ast() instead to provide the semantic model.

    2.6.7release notes

  • Removes the semantic() query function from the JavaScript plugin API.

    2.6.7release notes

  • 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.

    2.6.5release notes

  • 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.

    2.6.5release notes

  • Comma-separated multi-value declarations are now printed one value per line, matching the CSS formatter and Prettier.

    2.6.5release notes

  • 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.

    2.6.2release notes

  • The npm-installed command now exits non-zero when the Biome binary is killed by a signal instead of reporting success.

    2.6.2release notes

  • Migrating a Prettier configuration that omits semi and singleQuote now uses Prettier's defaults: semicolons always and double quotes.

    2.6.2release notes

  • The summary and JSON reporters' matches field now count every match rather than the number of searched files.

    2.6.2release notes

  • In GritQL plugins and biome search, contains followed by further conditions tries every matching node rather than stopping at the first.

    2.6.2release notes

  • The formatter formats JavaScript inside quoted Vue directive values and writes these values with double quotes and their strings with single quotes.

    2.6.2release notes

  • Removed this ineffective internal-use option; configurations containing it now receive an unknown-key error and must remove it.

    2.6.2release notes

  • For loops with truthy literal tests are handled as infinite loops, consistent with while and do...while loops.

    2.6.2release notes

  • Rules from the project and types domains enabled in an override now run for files matched by that override.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • Automatic enabling now requires tailwindcss v4 or later in package.json instead of v3 or later; the domain can still be enabled manually.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • The CLI now emits an error when the configuration has errors.

    2.5.15release notes

  • Configuration file errors are no longer silently ignored and are checked before any command executes.

    2.5.15release notes

  • Now reports mismatched closing tags and top-level closing tags without openings; tag names are matched case-insensitively.

    2.5.15release notes

  • The rule now reports directives inside Astro template expressions.

    2.5.15release notes

  • Reports React Compiler diagnostics regardless of the React version declared in package.json.

    2.5.15release notes

  • Removes special HTML formatter handling for the obsolete listing element.

    2.5.14release notes

  • Combining readonly and accessor modifiers in either order now reports that they cannot be used together.

    2.5.14release notes

  • Biome now reports HTML comments between Svelte tag attributes as parse errors.

    2.5.12release notes

  • Braces inside Astro <math> elements no longer open expressions, so LaTeX such as R^{2x} survives as text; <svg> is unaffected.

    2.5.10release notes

  • HTML style attribute values are parsed as CSS, and all Biome CSS lint rules are applied to them.

    2.5.8release notes

  • Detects Promise-returning callbacks passed where synchronous callbacks are expected across tuple spreads, rest parameters, constructor signatures, overloads, and generic cases.

    2.5.5release notes

  • The rule now reports computed bracket member access as well as static access to process.env.

    2.5.3release notes

  • The rule now reports unsafe optional chains wrapped in TypeScript as, satisfies, type assertion, and instantiation expressions.

    2.5.3release notes

  • The CSS parser now gates SCSS syntax in CSS.

    2.5.3release notes

  • Avoids a false positive for widening type assertions such as "a" as string, and reports literal-pinning assertions such as false as false.

    2.5.2release notes

  • Biome now throws an error when the level field is missing from a rule option.

    2.5.1release notes

  • Adds recommended, all, and none presets for enabling or disabling rules; nursery rules must still be enabled individually.

    2.5.0release notes

  • Promoted the rule from nursery to the correctness group.

    2.5.0release notes

  • The reporter now emits code replacement text for fix suggestions instead of the human-readable fix description.

    2.5.0release notes

  • Now flags union annotations with variants that are never returned and suggests a narrower type.

    2.4.15release notes

  • The rule now flags new Function() usages as a form of indirect eval and includes no-new-func as a rule source.

    2.4.11release notes

  • Enforced assist violations are no longer filtered out before promotion to errors, so biome check no longer incorrectly returns success with --diagnostic-level=error.

    2.4.10release notes

  • Enabling a whole rule group no longer enables React- or Qwik-specific rules unless the domain, an explicit rule, or a dependency enables them.

    2.4.9release notes

  • Fix-all no longer sorts imports when source.organizeImports.biome is disabled; organize imports is excluded unless explicitly requested.

    2.4.8release notes

  • Reports index usage anywhere in JSX key template or binary expressions, rather than only in the last visited identifier.

    2.4.5release notes

  • Consolidated into noSkippedTests.

    2.4.2release notes

  • Now detects Playwright patterns including .fixme, test.describe, test.step, bracket notation, and bare calls; noPlaywrightSkippedTest is consolidated into this rule.

    2.4.2release notes

  • The formatter now breaks a block-like element with more than two children when at least one child is another block-like element.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity error.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity error.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity error.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity error.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity error.

    2.4.0release notes

  • Promoted from nursery to the complexity group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity error.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity error.

    2.4.0release notes

  • Replaces the GraphQL nursery rule useUniqueArgumentNames; run biome migrate --write to update the configuration file.

    2.3.12release notes

  • Replaces the GraphQL nursery rule useUniqueFieldDefinitionNames; run biome migrate --write to update the configuration file.

    2.3.12release notes

  • Replaces the GraphQL nursery rule useUniqueGraphqlOperationName; run biome migrate --write to update the configuration file.

    2.3.12release notes

  • Replaces the GraphQL nursery rule useUniqueInputFieldNames; run biome migrate --write to update the configuration file.

    2.3.12release notes

  • Replaces the GraphQL nursery rule useUniqueVariableNames; run biome migrate --write to update the configuration file.

    2.3.12release notes

  • Adds the requireCatchParameter option, defaulting to true, to require a parameter on catch clauses.

    2.3.12release notes

  • The parser now flags invalid shorthand syntax instead of silently accepting it, including a space after the colon.

    2.3.9release notes

  • Updates the default value of ignoreRestSiblings.

    2.3.9release notes

  • The rule now flags empty strings such as v-html="".

    2.3.7release notes

  • Counts private members as used only when they are meaningfully read; pure writes without a read no longer count as usage.

    2.3.6release notes

  • This option no longer indents Astro frontmatter.

    2.3.5release notes

  • The JUnit reporter now returns one-based locations instead of zero-based locations.

    2.3.0release notes

  • Installed dependencies no longer automatically enable every rule in a domain; rules are enabled automatically only if recommended.

    2.3.0release notes

  • This lint rule was removed because its use case is covered by useValidAnchor.

    2.3.0release notes

  • This lint rule was promoted to the correctness group.

    2.3.0release notes

  • This lint rule was promoted to the correctness group.

    2.3.0release notes

  • The linter's all option is removed, so it can no longer enable all rules or all rules in a group.

    2.0.0upgrade guiderelease notes

  • The CLI option was removed; use --write instead.

    2.0.0release notes

  • The CLI option was removed; use --write --unsafe instead.

    2.0.0release notes

  • The option no longer accepts AsNeeded and Always.

    2.0.0release notes

  • The import assertion syntax is no longer supported and is replaced by the with syntax.

    2.0.0upgrade guiderelease notes

  • Import organizer configuration moved from organizeImports to an assist action; the new organizer also sorts and organizes imports and exports differently.

    2.0.0upgrade guide

  • The option no longer accepts Single and Multiline.

    2.0.0release notes

  • Suppression comments now use a slash after lint instead of parentheses around the group and rule.

    2.0.0upgrade guide

  • Requires every biome-ignore-start suppression to have an equivalent biome-ignore-end comment.

    2.0.0release notes

  • This environment variable is no longer supported; use BIOME_LOG_PATH instead.

    2.0.0release notes

  • The --config-path argument is no longer accepted by this command.

    2.0.0release notes

  • Biome now returns an error if --stdin-file-path does not have an extension.

    2.0.0release notes

  • The glob wildcard * no longer matches path separators.

    2.0.0upgrade guide

  • Removed from biome lsp-proxy and biome start because it could cause configuration mismatches across workspaces.

    2.0.0upgrade guiderelease notes

  • Paths and globs declared in configuration are relative to the configuration file rather than the working directory.

    2.0.0upgrade guiderelease notes

  • The formatter no longer inserts a trailing comma inside dynamic import expressions.

    2.0.0release notes

  • A glob-pattern array replaces include and ignore, supports negated patterns and ordered exceptions, and uses updated glob semantics.

    2.0.0release notes

  • Biome no longer prepends **/ to user-provided globs, so patterns match a narrower set of paths.

    2.0.0upgrade guide

  • The ignore and include configuration fields are removed and replaced by includes.

    2.0.0upgrade guide

  • The ignore field was removed in favor of negated patterns in includes.

    2.0.0release notes

  • The new organizer supports custom sorting, organizes export statements, ignores blank lines between imports, merges import/export, and changes default sorting.

    2.0.0upgrade guide

  • The include field was removed in favor of includes.

    2.0.0release notes

  • The deprecated configuration option and its related CLI options were removed; use indentWidth instead.

    2.0.0release notes

  • Renames --javascript-attribute-position for consistency.

    2.0.0release notes

  • Formatting now preserves a newline before a semicolon in the previous statement; with asNeeded, the example is considered already formatted.

    2.0.0release notes

  • Set expand to auto in an override for package.json to restore the previous formatting style.

    2.0.0upgrade guide

  • JSON formatting no longer adds a trailing comma even when trailingCommas is true.

    2.0.0release notes

  • Files exceeding the configured size limit are now ignored with an information diagnostic rather than an error that causes a nonzero CLI exit.

    2.0.0release notes

  • The legacy suppression comment format is no longer supported.

    2.0.0release notes

  • Several lint rules moved to different groups, and nursery rules promoted to stable groups; migrate can update promoted nursery rules.

    2.0.0release notes

  • 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.

    2.0.0release notes

  • The rule-group all option was removed.

    2.0.0release notes

  • Support for max_line_length in .editorconfig was removed.

    2.0.0release notes

  • Uses the highest severity among equivalent ESLint rules when setting a migrated Biome rule's severity.

    2.0.0release notes

  • This deprecated lint rule has been deleted.

    2.0.0release notes

  • The rule now checks only regular expression literals, not dynamically built regular expressions.

    2.0.0release notes

  • Renamed from noDuplicatedFields; run biome migrate to update your configuration.

    2.0.0release notes

  • Its code fix is now unsafe; configure the rule fix as safe to keep applying it automatically as a safe fix.

    2.0.0release notes

  • This deprecated lint rule has been deleted.

    2.0.0release notes

  • The rule was renamed to noAdjacentSpacesInRegex.

    2.0.0release notes

  • This deprecated lint rule has been deleted.

    2.0.0release notes

  • The rule was renamed to noUselessContinue.

    2.0.0release notes

  • Its code fix is now unsafe; configure the rule fix as safe to keep applying it automatically as a safe fix.

    2.0.0release notes

  • The rule no longer reports unused function parameters; use noUnusedFunctionParameters instead.

    2.0.0release notes

  • Objects and arrays in package.json are always formatted on multiple lines, regardless of their width.

    2.0.0upgrade guiderelease notes

  • This code action was removed in favor of inline and top-level suppression code actions.

    2.0.0release notes

  • The option no longer accepts AsNeeded and Preserve.

    2.0.0release notes

  • The option no longer accepts Single and Double.

    2.0.0release notes

  • The Rome environment variable is no longer supported; use BIOME_BINARY instead.

    2.0.0upgrade guiderelease notes

  • The Rome suppression comment is no longer supported; use biome-ignore instead.

    2.0.0upgrade guiderelease notes

  • Rome-related features are no longer supported; rename rome.json to biome.json.

    2.0.0upgrade guiderelease notes

  • The option no longer accepts AsNeeded and Always.

    2.0.0release notes

  • The option was renamed to --skip-parse-errors.

    2.0.0release notes

  • JSON and JavaScript formatting now matches Prettier 3.4 by no longer unescaping useless escape sequences.

    2.0.0release notes

  • The summary reporter no longer takes --max-diagnostics into account.

    2.0.0release notes

  • The option no longer accepts ES5, All, and None.

    2.0.0release notes

  • The configuration and CLI option trailingComma was removed; use trailingCommas.

    2.0.0release notes

  • The lexer now reports errors for unterminated regex and string literals.

    2.0.0release notes

  • Now reports Array constructor expressions in all contexts, not only expression statements.

    2.0.0release notes

  • The rule now reports a diagnostic when the dependency list is not an array literal and provides an unsafe fix for extra dependencies.

    2.0.0release notes

  • The rule now reports missing keys inside switch and if statements and is part of the React domain.

    2.0.0release notes

  • More closely matches the ESLint plugin by marking a whole fragment incorrect when it lacks a key; shorthand fragments can also be checked.

    2.0.0release notes

  • The enumMemberCase option was removed; use conventions to configure enum member naming.

    2.0.0release notes

  • Non-ASCII names are rejected by default; set requireAscii to false to allow them.

    2.0.0release notes

  • This deprecated lint rule has been deleted.

    2.0.0release notes

  • This deprecated lint rule has been deleted.

    2.0.0release notes

  • Upgrading the extension may require a complete editor restart to avoid incorrect code upon save when source.fixAll.biome is explicit.

    2.0.0upgrade guide

  • The package now requires v2 of the WebAssembly packages.

    2.0.0release notes

  • Plugins should use the workspace/configuration response instead of passing --config-path.

    2.0.0upgrade guiderelease notes

  • The new version of the Zed extension is not compatible with Biome v1 because --config-path is no longer supported.

    2.0.0upgrade guide

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.

    2.5.15release notes

  • Unix daemon socket permissions are now restricted.

    2.5.15release notes

  • Biome reports a diagnostic for excessively deep syntax instead of overflowing the native stack while releasing the parsed tree.

    2.5.12release notes

  • A new nursery rule disallows Astro's set:html directive because untrusted content can introduce cross-site scripting vulnerabilities.

    2.5.11release notes

  • The language server's synchronisation logic was improved.

    2.5.5release notes

  • Adds a rule to prevent accidental full-table deletes when using Drizzle ORM without a .where() clause.

    2.4.8release notes

  • Adds a rule to prevent accidental full-table updates when using Drizzle ORM without a .where() clause.

    2.4.8release notes

  • Added a Turborepo rule that warns about unsafe environment variable usage.

    2.3.10release notes

  • Added a Turborepo domain for rules concerning unsafe environment variable usage in Turborepos.

    2.3.10release notes

  • The rule accepts rel="noopener" as well as rel="noreferrer", adds an option to disable rel="noreferrer", and moves from a11y to security.

    2.0.0release notes

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.

    2.3.0release notes

New APIs and options 508

  • Adds foundations for flow-sensitive type narrowing.

    2.6.8release notes

  • Adds a lint rule for Buffer constructor usage.

    2.6.8release notes

  • Adds a lint rule for confusing uses of Array.splice.

    2.6.8release notes

  • Adds a lint rule for dynamic require calls.

    2.6.8release notes

  • Adds a lint rule for late access to currentTarget.

    2.6.8release notes

  • Adds a lint rule for misused spread syntax.

    2.6.8release notes

  • Adds a lint rule for restricted Tailwind classes.

    2.6.8release notes

  • Adds a lint rule for triple-slash references.

    2.6.8release notes

  • Adds a lint rule for asynchronous Vue computed properties.

    2.6.8release notes

  • Adds a lint rule for Vue defineModel defaults.

    2.6.8release notes

  • Adds a lint rule for deprecated Vue filters.

    2.6.8release notes

  • Adds a lint rule for exports in Vue <script setup>.

    2.6.8release notes

  • Adds a lint rule for empty YAML map keys.

    2.6.8release notes

  • Adds a lint rule for empty YAML map values.

    2.6.8release notes

  • Adds a lint rule for empty YAML sequence entries.

    2.6.8release notes

  • Adds a lint rule for called-with assertions.

    2.6.8release notes

  • Adds a lint rule for toHaveBeenCalled expectations.

    2.6.8release notes

  • Adds a lint rule for toHaveBeenCalledTimes expectations.

    2.6.8release notes

  • Adds a lint rule that checks package.json license validity.

    2.6.8release notes

  • Adds a lint rule for spy creation.

    2.6.8release notes

  • Adds a lint rule for top-level require calls.

    2.6.8release notes

  • Adds a lint rule for valid namespace imports.

    2.6.8release notes

  • Adds a lint rule for consistent Vue v-on handler style.

    2.6.8release notes

  • Adds a lint rule for casing registered Vue component names.

    2.6.8release notes

  • JavaScript plugins can use GritQL patterns to select nodes passed to run() instead of listing syntax kinds with ast(); semantic models are also supported.

    2.6.7release notes

  • JavaScript plugins can now use GritQL queries.

    2.6.7release notes

  • Adds the noAsyncPromiseFinally lint rule.

    2.6.7release notes

  • 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.

    2.6.7release notes

  • Adds the noDuplicateTypeConstituents lint rule.

    2.6.7release notes

  • Adds a nursery rule to limit CSS selector complexity and disallow selected selector features; it does nothing until an option is set.

    2.6.7release notes

  • Adds the noExcessiveSelectorComplexity lint rule.

    2.6.7release notes

  • Adds the noRedundantTypeConstituents lint rule.

    2.6.7release notes

  • Adds a nursery rule reporting comparisons to null in Sass @if and @else if conditions, because null already counts as false.

    2.6.7release notes

  • Adds a nursery rule in the project domain that reports default imports from modules without a default export.

    2.6.7release notes

  • 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.

    2.6.7release notes

  • 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.

    2.6.7release notes

  • Adds the useConsistentBooleanName lint rule.

    2.6.7release notes

  • Adds a nursery rule enforcing numeric or keyword font-weight notation where possible, with a safe fix between normal/bold and 400/700.

    2.6.7release notes

  • Adds the useGlobalRegexInReplaceAll lint rule.

    2.6.7release notes

  • Adds a nursery rule that reports comparisons between a single character and a multi-character string, which are always true or false.

    2.6.7release notes

  • Adds the useValidCharacterComparison lint rule.

    2.6.7release notes

  • Added an optimized JavaScript plugin traversal API that finds nodes whose kinds are in a nodeKinds() set.

    2.6.5release notes

  • Added the noExcessiveNestedBlocks lint rule.

    2.6.5release notes

  • Added the noPseudoElementInFunctionalPseudoClass lint rule.

    2.6.5release notes

  • Added the noSvelteBindValueOnCheckableInputs lint rule.

    2.6.5release notes

  • Added the noUselessLengthCheck lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedConfigKeyCodes lint rule.

    2.6.5release notes

  • Added the noVueMixin lint rule.

    2.6.5release notes

  • Added the noVueUselessTemplateAttributes lint rule.

    2.6.5release notes

  • Added the noVueUselessVBind lint rule.

    2.6.5release notes

  • Added the noVueVForTemplateKeyOnChild lint rule.

    2.6.5release notes

  • Added the useTailwindVariablesShorthand lint rule.

    2.6.5release notes

  • Added the useVueConsistentDefineEmitsDeclaration lint rule.

    2.6.5release notes

  • Added the useVueConsistentPropNameCasing lint rule.

    2.6.5release notes

  • Added the useVueConsistentVForDelimiter lint rule.

    2.6.5release notes

  • Added the useVueConsistentVSlotStyle lint rule.

    2.6.5release notes

  • Added the useVueDefaultExport lint rule.

    2.6.5release notes

  • Added the useVueEmitsValidatorReturn lint rule.

    2.6.5release notes

  • Added the useVueMacroVariableName lint rule.

    2.6.5release notes

  • Added the useVueOneComponentPerFile lint rule.

    2.6.5release notes

  • Added the useVueSeparateStaticClass lint rule.

    2.6.5release notes

  • Added the useVueSlotNameCasing lint rule.

    2.6.5release notes

  • Added the useVueTrueAttributeShorthand lint rule.

    2.6.5release notes

  • Adds the noConsoleSpaces lint rule.

    2.6.4release notes

  • Adds the noMagicArrayFlatDepth lint rule.

    2.6.4release notes

  • Adds the noNull lint rule.

    2.6.4release notes

  • Adds the noReturnArrayPush lint rule.

    2.6.4release notes

  • Adds the noUnreadableIife lint rule.

    2.6.4release notes

  • Adds the noUselessRecursion lint rule.

    2.6.4release notes

  • Adds the noVueComputedPropertiesInData lint rule.

    2.6.4release notes

  • Adds the noVueDeprecatedDeleteSet lint rule.

    2.6.4release notes

  • Adds the noVueDeprecatedListeners lint rule.

    2.6.4release notes

  • Adds the noVueDeprecatedRouterLinkTagProp lint rule.

    2.6.4release notes

  • Adds the noVueDeprecatedScopeAttribute lint rule.

    2.6.4release notes

  • Adds the noVueMultipleSlotArgs lint rule.

    2.6.4release notes

  • Adds the noVueMutatingProps lint rule.

    2.6.4release notes

  • Adds the noVueSideEffectsInComputed lint rule.

    2.6.4release notes

  • New nursery rule reports unread template refs; it requires html.experimentalFullSupportEnabled to be true.

    2.6.4release notes

  • Adds the noYamlBooleanKeys lint rule.

    2.6.4release notes

  • Adds the useSvelteEventDispatcherTypes lint rule.

    2.6.4release notes

  • Adds the useVueDefineOptions lint rule.

    2.6.4release notes

  • Adds the useVueDefinePropsDestructuring lint rule.

    2.6.4release notes

  • Adds the useVueTemplateRef lint rule.

    2.6.4release notes

  • Adds the useVueTypedProps lint rule.

    2.6.4release notes

  • Adds the useVueValidDefineEmits lint rule.

    2.6.4release notes

  • Adds the useVueValidDefineProps lint rule.

    2.6.4release notes

  • Adds the useVueValidVIs lint rule.

    2.6.4release notes

  • Adds the useVueValidVMemo lint rule.

    2.6.4release notes

  • Adds the useVueValidVModel lint rule.

    2.6.4release notes

  • Adds the useVueValidVShow lint rule.

    2.6.4release notes

  • Adds the useVueValidVSlot lint rule.

    2.6.4release notes

  • Adds the useVueVModel lint rule.

    2.6.4release notes

  • Adds the useWhileLoopCondition lint rule.

    2.6.4release notes

  • Adds the noArraySortForMinMax lint rule.

    2.6.3release notes

  • Adds a nursery rule that reports sort comparators returning a boolean instead of a number.

    2.6.3release notes

  • Adds the noDanglingUnderscore lint rule.

    2.6.3release notes

  • 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.

    2.6.3release notes

  • Adds a nursery rule disallowing calling require with new.

    2.6.3release notes

  • Adds a nursery rule disallowing obsolete attributes on HTML elements and suggesting replacements.

    2.6.3release notes

  • Adds a nursery rule disallowing file paths and URLs built by joining strings to path and URL globals.

    2.6.3release notes

  • Adds a nursery rule disallowing positional Playwright element selection with first(), last(), and nth().

    2.6.3release notes

  • Adds a nursery rule disallowing a cascade layer nested inside a layer with the same name.

    2.6.3release notes

  • Adds a nursery rule reporting CSS animation and transition times shorter than the configured minimum; it is inactive until minimum is set.

    2.6.3release notes

  • Adds a nursery rule disallowing imports from svelte/internal and its submodules.

    2.6.3release notes

  • Adds a nursery rule disallowing rest destructuring and object spread on TanStack Query results; the rule belongs to the tanstackQuery domain.

    2.6.3release notes

  • Adds a nursery rule reporting for...of loops that iterate over complex expressions instead of a variable, property, or short call.

    2.6.3release notes

  • Adds a nursery rule disallowing returning a value typed as any from a function.

    2.6.3release notes

  • Adds a nursery rule reporting splice() calls that have a simpler alternative.

    2.6.3release notes

  • Adds a nursery rule reporting events declared by a Vue component but never emitted.

    2.6.3release notes

  • Adds a nursery rule disallowing v-text and v-html on Vue components.

    2.6.3release notes

  • Adds a nursery rule disallowing creation of Vue watchers after await in setup(), unless the stop function is stored.

    2.6.3release notes

  • Adds a nursery rule disallowing units on zero lengths in CSS; Biome can remove the unit.

    2.6.3release notes

  • Adds a nursery rule reporting immediately called functions that can be replaced with a block statement.

    2.6.3release notes

  • Adds a nursery rule enforcing percentage lightness notation in lab(), lch(), oklab(), and oklch(), or number notation when configured.

    2.6.3release notes

  • Adds a nursery rule that disallows a leading Unicode BOM by default, can require one with bom: "always", and provides a fix.

    2.6.3release notes

  • Adds the useConsistentUnicodeBom lint rule for all languages.

    2.6.3release notes

  • Adds a nursery rule reporting tests that compare includes() to a boolean and suggesting toContain().

    2.6.3release notes

  • Adds a nursery rule reporting manual absolute value calculations and range checks that can use Math.abs().

    2.6.3release notes

  • Adds the usePackageJsonValidCpu lint rule.

    2.6.3release notes

  • Adds a nursery rule reporting invalid package.json engines fields; the field must be an object with non-empty string values.

    2.6.3release notes

  • Adds a nursery rule requiring PlatformColor() and DynamicColorIOS() values to be written directly in the call for React Native optimization.

    2.6.3release notes

  • Adds a nursery rule requiring Vue component elements to bind the is attribute with :is or v-bind:is.

    2.6.3release notes

  • Adds a nursery rule requiring an element inside Vue Transition to be shown or hidden with v-if or v-show.

    2.6.3release notes

  • Adds a nursery rule reporting TypeScript ref() and shallowRef() calls without a type argument or non-null initial value.

    2.6.3release notes

  • Adds a nursery rule requiring .exact on a v-on listener when another listener for the same event needs more modifier keys.

    2.6.3release notes

  • The new flag enables Git VCS integration and sets vcs.useIgnoreFile to true in the generated configuration, even outside a Git repository.

    2.6.2release notes

  • Shows resolved configuration values and their origins as human-readable diagnostics, including matching overrides.

    2.6.2release notes

  • Adds a command that returns file developer information, with options to inspect its AST, formatting IR, or semantic model; defaults to the CST.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • Imports Stylelint configuration and ignore settings into Biome, mapping rules to equivalents; --write applies changes, and additional rules can be included.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • Adds Google Apps Script support, parsing these files as JavaScript scripts; common service globals are recognized and additional globals can be configured.

    2.6.2release notes

  • When enabled, runs lint rules and assist actions on embedded blocks using their language tools and reports syntax errors; disabled by default.

    2.6.2release notes

  • Controls formatting of embedded code blocks; it is enabled by default and can be disabled to leave their contents as written.

    2.6.2release notes

  • Controls paragraph wrapping; when set to always, paragraphs wrap to the configured lineWidth.

    2.6.2release notes

  • Opt-in parsing follows CommonMark CJK-friendly amendments, recognizing emphasis markers directly next to Chinese, Japanese, or Korean text.

    2.6.2release notes

  • Opt-in frontmatter parsing treats the first thematic break as the opening frontmatter fence.

    2.6.2release notes

  • Adds Markdown linting and formatting with CommonMark-compatible parsing; the formatter and linter are enabled by default. GFM is not currently supported.

    2.6.2release notes

  • Adds a nursery rule reporting functions with more statements than the configured max, which defaults to 10.

    2.6.2release notes

  • Object-syntax plugin entries can resolve paths from the declaring configuration or consuming project; the default is project.

    2.6.2release notes

  • Points Biome to a CSS file whose Tailwind theme, utilities, and variants, including those in imported local files, inform class sorting.

    2.6.2release notes

  • A nursery rule enforces configured languages for top-level Vue and Svelte component blocks; it does not check anything until configured.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • When enabled, keeps members separated by blank lines in separate sections and sorts only within each section.

    2.6.2release notes

  • Adds a nursery rule enforcing consistent hyphenation for event names in v-on directives on custom components; hyphenated names are required by default.

    2.6.2release notes

  • Markdown now supports suppressions.

    2.5.15release notes

  • Added the noAstroConflictingSetDirectives rule for .astro files.

    2.5.15release notes

  • Added the noMeaninglessVoidOperator lint rule.

    2.5.15release notes

  • Added the noMisplacedListElements lint rule.

    2.5.15release notes

  • Added the noSelfImport lint rule.

    2.5.15release notes

  • Added the noSvelteExportLet lint rule.

    2.5.15release notes

  • Added the noTailwindRawColors lint rule.

    2.5.15release notes

  • Added the useLogicalProperties lint rule.

    2.5.15release notes

  • Added the usePromiseRejectErrors lint rule.

    2.5.15release notes

  • Added the useStrictBooleanExpressions lint rule.

    2.5.15release notes

  • Added the useSvelteKitRuneImports lint rule.

    2.5.15release notes

  • YAML formatting now supports suppression comments.

    2.5.15release notes

  • GritQL plugins can use contains on import-clause metavariables in import patterns.

    2.5.14release notes

  • Adds the Markdownlint MD040 rule for fenced code language declarations.

    2.5.14release notes

  • Implements the noJsonUnsafeValues JSON lint rule.

    2.5.14release notes

  • Adds the noObsoleteTags lint rule.

    2.5.14release notes

  • Adds the noReturnInFinally lint rule.

    2.5.14release notes

  • Adds the noSvelteAtDebugTags lint rule.

    2.5.14release notes

  • Adds @shadcn/lint as a lint rule source.

    2.5.14release notes

  • Adds the useConsistentFunctionStyle lint rule.

    2.5.14release notes

  • Implements the useConsistentObjectKeys JSON lint rule.

    2.5.14release notes

  • Adds the requireExplicitCase option to useExhaustiveSwitchCases.

    2.5.14release notes

  • Implements the useValidTestTitle lint rule.

    2.5.14release notes

  • Adds parsing support for GitHub Flavored Markdown.

    2.5.13release notes

  • Adds code fix mutation support for plugins.

    2.5.13release notes

  • Adds rule context support for plugins.

    2.5.13release notes

  • Adds semantic model support for plugins.

    2.5.13release notes

  • Adds JavaScript traversal methods for plugins.

    2.5.13release notes

  • Adds the Markdown MD025 single top-level heading rule.

    2.5.12release notes

  • JavaScript plugins now support TypeScript.

    2.5.11release notes

  • JavaScript plugins can query AST nodes by their kind.

    2.5.10release notes

  • JavaScript plugins gain runtime AST bindings.

    2.5.10release notes

  • Markdown frontmatter parsing support was added.

    2.5.10release notes

  • JavaScript plugins can be enabled in WASM through the unstable feature.

    2.5.10release notes

  • biome rage now includes BIOME_BINARY in its environment variable metadata.

    2.5.9release notes

  • biome rage now includes BIOME_LOG_FILE in its environment variable metadata.

    2.5.9release notes

  • A new nursery rule reports Astro client:only directives without an initializer.

    2.5.9release notes

  • Added support for the SCSS nesting combinator.

    2.5.8release notes

  • Added the useTopLevelHeading rule.

    2.5.8release notes

  • Added prose-wrap formatting for Markdown and changes to code block dedentation, string normalization, and indentation.

    2.5.7release notes

  • Added a nursery rule that reports extending the prototype of a built-in object.

    2.5.7release notes

  • Added a nursery rule that reports viewport metadata disabling user scaling with user-scalable=no.

    2.5.7release notes

  • Added a nursery rule that reports Tailwind CSS arbitrary values in HTML/JSX class attributes, configured utility functions, and tagged templates.

    2.5.7release notes

  • Added ignoreIfStatements; when enabled, the rule ignores if statements that only assign to a nullish variable.

    2.5.7release notes

  • 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.

    2.5.7release notes

  • Added a nursery rule porting ESLint's no-restricted-properties; it flags restricted member access and object destructuring, and biome migrate eslint preserves the rule's options.

    2.5.6release notes

  • Added YAML block scalar formatting support.

    2.5.6release notes

  • Added YAML flow mapping formatting support.

    2.5.6release notes

  • Added support for formatting YAML flow scalar content.

    2.5.6release notes

  • Biome adds parsing support for Angular attributes.

    2.5.5release notes

  • Biome supports parsing and formatting CSS custom media queries declared with @custom-media.

    2.5.5release notes

  • Adds a rule that flags negated expressions on the left side of strict equality checks and provides an unsafe fix that flips the operator.

    2.5.5release notes

  • Formats YAML document markers, directives, and multi-document streams.

    2.5.5release notes

  • YAML formatting adds basic support for block properties.

    2.5.4release notes

  • The Markdown formatter adds formatting support for quotes, thematic breaks, and link definitions.

    2.5.3release notes

  • The YAML formatter adds sequence mapping formatting.

    2.5.3release notes

  • The CSS parser can parse SCSS query feature expressions.

    2.5.2release notes

  • Adds an option to ignore ||, ||=, and ternary expressions whose non-nullish operands are selected primitives.

    2.5.2release notes

  • Adds the allowImplicit option to useIterableCallbackReturn.

    2.5.0release notes

  • Adds an upgrade command for standalone installations; it upgrades Homebrew installs, updates manually installed binaries, and directs npm users to their package manager.

    2.5.0release notes

  • Adds bundleDependencies to the NoUndeclaredDependencies rule.

    2.5.0release notes

  • Adds delimiterSpacing formatting support for JavaScript, JSX, TypeScript, JSON, and CSS.

    2.5.0release notes

  • 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.

    2.5.0release notes

  • Adds an option that enables parsing Vue syntax in .html files.

    2.5.0release notes

  • Exposes html.parser.vue in configuration.

    2.5.0release notes

  • Adds ignoreMixedLogicalExpressions to useNullishCoalescing.

    2.5.0release notes

  • Adds an includes option for scoping plugin files.

    2.5.0release notes

  • Opt-in support resolves dependencies for linting from default and named pnpm catalogs when this option is true.

    2.5.0release notes

  • Adds a kind field to import matchers.

    2.5.0release notes

  • Adds an ignore option to no-unused-variables.

    2.5.0release notes

  • Ports noAriaHiddenOnFocusable to HTML.

    2.5.0release notes

  • Adds a lint rule for files with excessive classes.

    2.5.0release notes

  • Adds a lint rule for files with excessive lines.

    2.5.0release notes

  • Ports noExcessiveLinesPerFile to HTML.

    2.5.0release notes

  • Adds a lint rule for hexadecimal colors.

    2.5.0release notes

  • Adds a rule option to ignore double negations.

    2.5.0release notes

  • Implements noInteractiveElementToNoninteractiveRole for HTML.

    2.5.0release notes

  • Adds an HTML lint rule requiring a label element or component to have a text label and an associated input.

    2.5.0release notes

  • Adds a lint rule for multiple assignments.

    2.5.0release notes

  • Adds a lint rule for multiline strings.

    2.5.0release notes

  • Adds an HTML lint rule that disallows event handlers on non-interactive elements.

    2.5.0release notes

  • Implements noNoninteractiveElementToInteractiveRole for HTML.

    2.5.0release notes

  • Adds noNonInteractiveTabIndex for HTML.

    2.5.0release notes

  • Adds the noRedundantRoles accessibility rule for HTML.

    2.5.0release notes

  • Adds a nursery rule that flags imports and package.json dependency entries with better alternatives in e18e's module replacement data.

    2.5.0release notes

  • Adds the noRestrictedDependencies rule.

    2.5.0release notes

  • Adds a lint rule for GraphQL root types.

    2.5.0release notes

  • Adds a lint rule for ternary expressions.

    2.5.0release notes

  • Adds an ignore option for excluding identifiers by name or excluding kinds of identifiers entirely.

    2.5.0release notes

  • Adds a lint rule for the Vue Options API.

    2.5.0release notes

  • Adds glob-based file scoping for plugins, including negated globs for exclusions.

    2.5.0release notes

  • The format, lint, check, and ci commands accept --reporter=concise to print diagnostics in a compact manner.

    2.5.0release notes

  • Adds the sortBareImports option for import organization; bare matchers require it.

    2.5.0release notes

  • Adds a JavaScript API helper to convert byte spans to code-unit spans.

    2.5.0release notes

  • Adds the :STYLE: group matcher for import organization.

    2.5.0release notes

  • Adds an upgrade command to the CLI.

    2.5.0release notes

  • Adds the useAriaActivedescendantWithTabindex rule for HTML.

    2.5.0release notes

  • Adds an HTML lint rule validating ARIA properties against the roles supported by an element.

    2.5.0release notes

  • Adds useAriaPropsSupportedByRole for HTML; it no longer reports false positives on Vue v-bind shorthand.

    2.5.0release notes

  • Adds a lint rule for consistent GraphQL descriptions.

    2.5.0release notes

  • Adds a lint rule for consistent method signatures.

    2.5.0release notes

  • Adds a lint rule for using error causes.

    2.5.0release notes

  • Adds a style option to useExportType.

    2.5.0release notes

  • Adds an HTML lint rule requiring elements with an interactive role and interaction handler to be focusable.

    2.5.0release notes

  • Implements useFocusableInteractive for HTML.

    2.5.0release notes

  • Adds the useFunctionComponentDefinition rule.

    2.5.0release notes

  • Adds the useHeadingContent accessibility rule for HTML.

    2.5.0release notes

  • Adds a nursery rule suggesting includes() or !includes() instead of comparing indexOf() against -1.

    2.5.0release notes

  • Adds a lint rule for input names.

    2.5.0release notes

  • When enabled, callbacks may use return; to implicitly return undefined, matching ESLint's array-callback-return rule.

    2.5.0release notes

  • Ports useKeyWithClickEvents to HTML.

    2.5.0release notes

  • Ports the useKeyWithMouseEvents accessibility rule to HTML.

    2.5.0release notes

  • Adds a lint rule for lone executable definitions.

    2.5.0release notes

  • Adds configurable minimum digit counts and group lengths for binary, octal, decimal, and hexadecimal literals.

    2.5.0release notes

  • Adds options for minimum digits and group length.

    2.5.0release notes

  • Adds a nursery rule enforcing a consistent function type for named React function components.

    2.5.0release notes

  • Ports useSemanticElements to HTML.

    2.5.0release notes

  • Implements useSortedAttributes for HTML.

    2.5.0release notes

  • Adds an assist action that sorts TypeScript and GraphQL enum members.

    2.5.0release notes

  • Adds the useSortedEnumMembers rule.

    2.5.0release notes

  • Adds the useSortedPackageJson rule.

    2.5.0release notes

  • Implements useSortedSelectionSet for GraphQL.

    2.5.0release notes

  • Adds a lint rule that prefers spread syntax over Function.prototype.apply().

    2.5.0release notes

  • Adds a Svelte nursery rule reporting each blocks with item bindings that are missing a key.

    2.5.0release notes

  • Adds the useSvelteRequireEachKey rule for HTML.

    2.5.0release notes

  • Ports the useValidAnchor rule to HTML.

    2.5.0release notes

  • Ports useValidAriaProps to HTML.

    2.5.0release notes

  • Ports useValidAriaValues to HTML.

    2.5.0release notes

  • Adds an HTML lint rule enforcing valid autocomplete values on input elements.

    2.5.0release notes

  • Adds watch mode to check, format, and lint, rerunning checks when workspace files change after the first run.

    2.5.0release notes

  • Adds a YAML file handler and initial formatting for simple block mappings and block sequences.

    2.5.0release notes

  • Formatter overrides now support formatter.trailingCommas, which was previously available only in the top-level formatter configuration.

    2.4.16release notes

  • Added parser support for SCSS @include ... using clauses.

    2.4.16release notes

  • Added parser support for SCSS interpolated selectors.

    2.4.16release notes

  • Added parser support for SCSS parent selectors.

    2.4.16release notes

  • The new rule supports the ignoredTypeNames option.

    2.4.15release notes

  • Adds a nursery rule reporting stringification sites that fall back to Object's default "[object Object]" formatting.

    2.4.15release notes

  • Adds a recommended nursery rule disallowing imports of Vue compiler macros that are automatically available.

    2.4.15release notes

  • Adds a nursery rule disallowing deprecated number modifiers on Vue v-on directives.

    2.4.15release notes

  • Adds a nursery test-domain rule enforcing that Jest/Vitest lifecycle hooks are declared in execution order.

    2.4.15release notes

  • Adds a nursery rule reporting instance methods, getters, setters, and function-valued instance fields that do not use this; ESLint migration preserves supported options.

    2.4.15release notes

  • Adds a nursery rule enforcing Promise syntax when using Vue nextTick.

    2.4.15release notes

  • Adds a nursery rule validating Vue v-for directives, including aliases and component keys.

    2.4.15release notes

  • Adds lexing and parsing support for YAML properties.

    2.4.15release notes

  • When enabled, parameter names inside function type annotations are not flagged as shadowing outer variables.

    2.4.14release notes

  • When enabled, a value binding sharing a name with a type-only declaration is not flagged as shadowing.

    2.4.14release notes

  • Adds CSS parser support for SCSS media query interpolation.

    2.4.14release notes

  • Basic Markdown formatter features were implemented, and more Markdown nodes can now be formatted.

    2.4.11release notes

  • A new rule detects when a function's return type annotation is wider than what the implementation actually returns.

    2.4.11release notes

  • Biome added support for SCSS string interpolation.

    2.4.11release notes

  • A new JavaScript lint rule detects disposable objects assigned to variables without using or await using syntax, helping prevent resource or memory leaks.

    2.4.11release notes

  • A new option disables the rule's detection of ternary expressions that check for null or undefined.

    2.4.11release notes

  • Added Markdown formatting support for links and code blocks.

    2.4.10release notes

  • Added a nursery lint rule that detects implied eval() through setTimeout, setInterval, and setImmediate when called with string arguments.

    2.4.10release notes

  • Added a nursery rule that reports + and += operations with object-like, symbol, unknown, or never operands, or mixed number and bigint operands.

    2.4.10release notes

  • Adds support for the CSS properties dynamic-range-limit, overlay, reading-flow, reading-order, scroll-marker-group, and scroll-target-group.

    2.4.8release notes

  • Adds support for modern CSS pseudo-classes.

    2.4.8release notes

  • Adds support for modern CSS pseudo-elements.

    2.4.8release notes

  • Adds a nursery JSON rule disallowing empty keys in JSON objects.

    2.4.7release notes

  • Adds a nursery JSON rule requiring the root-level value to be an array or object.

    2.4.7release notes

  • Adds parsing support for SCSS binary expressions, interpolation expressions, conditional expressions, and the documented SCSS at-rules.

    2.4.7release notes

  • Adds a nursery CSS lint rule that reports properties, values, at-rules, media conditions, functions, or pseudo-selectors outside the configured Baseline tier.

    2.4.7release notes

  • Adds a nursery rule requiring all import statements to appear before any non-import statements in a module.

    2.4.7release notes

  • Adds a nursery rule that flags using a Vue ref as an operand instead of accessing its .value.

    2.4.5release notes

  • Adds a nursery rule preferring .some() over verbose existence checks, with suggestions for find and findLast checks and support for ES2025 iterator helpers.

    2.4.5release notes

  • Adds a nursery rule enforcing named capture groups instead of numbered groups in regex literals and RegExp constructor calls.

    2.4.5release notes

  • Adds a nursery rule suggesting ?? instead of || when the left operand may be nullish, avoiding bugs with falsy values.

    2.4.5release notes

  • Adds a nursery rule requiring the u or v flag on regular expressions for correct handling of Unicode characters.

    2.4.5release notes

  • Adds a nursery rule requiring Vue SFC style blocks to use scoped or, for CSS Modules, module attributes to prevent style leakage and conflicts.

    2.4.5release notes

  • Adds a nursery rule that disallows conditional expect() calls inside tests, which can lead to tests that silently pass when assertions never run.

    2.4.2release notes

  • Adds a nursery rule that prefers locators to element handles.

    2.4.2release notes

  • Adds a nursery rule that disallows page.$eval() and page.$$eval() methods.

    2.4.2release notes

  • Adds a nursery rule that disallows the force option on user interactions.

    2.4.2release notes

  • Adds a nursery rule that enforces awaiting async Playwright APIs.

    2.4.2release notes

  • Adds a nursery rule that disallows unnecessary await on synchronous Playwright methods.

    2.4.2release notes

  • Adds a nursery rule that ensures test functions contain at least one expect() assertion.

    2.4.2release notes

  • The CSS parser supports the typed attr function.

    2.4.0release notes

  • Runs selected lint rules, assist actions, groups, or domains, covering both lint diagnostics and assist actions.

    2.4.0release notes

  • Excludes selected lint rules, assist actions, groups, or domains when running the command.

    2.4.0release notes

  • The command accepts multiple reporters so CI output can be shown in more than one format.

    2.4.0release notes

  • Saves reporter output to a specified relative or absolute file path.

    2.4.0release notes

  • Excludes selected lint rules, assist actions, groups, or domains when running the command.

    2.4.0release notes

  • Adds logging options across Biome commands; --log-file redirects CLI log messages to an optional path, with BIOME_LOG_FILE as an alias.

    2.4.0release notes

  • Adds a logging-level option, with debug, info, warn, error, and none values and BIOME_LOG_LEVEL as an alias.

    2.4.0release notes

  • A top-level suppression comment prevents Biome from formatting the document across supported languages.

    2.4.0release notes

  • Enables a profiler report showing which lint rules took the longest to execute.

    2.4.0release notes

  • Adds an environment variable alias for --log-kind, which controls what the log should look like.

    2.4.0release notes

  • Adds an environment variable alias for --log-path, which changes the folder where daemon logs are stored.

    2.4.0release notes

  • Adds an environment variable alias for --log-prefix-name, which changes the prefix applied to daemon log file names.

    2.4.0release notes

  • Provides an environment-variable alias for --watcher-kind.

    2.4.0release notes

  • Provides an environment-variable alias for --watcher-polling-interval.

    2.4.0release notes

  • Biome now attempts hidden configuration files after biome.json and biome.jsonc when locating configuration.

    2.4.0release notes

  • Enables experimental formatting and linting of embedded GraphQL snippets in JavaScript.

    2.4.0release notes

  • Enables experimental formatting and linting of embedded CSS snippets in JavaScript.

    2.4.0release notes

  • Controls whether formatted files end with a trailing newline; defaults to true and can be set globally or per language.

    2.4.0release notes

  • JSON is supported as a target language for GritQL pattern matching, enabling Grit plugins and patterns for JSON files.

    2.4.0release notes

  • Lets editors provide configuration to the Biome Language Server, merged with project or default configuration without changing project configuration.

    2.4.0release notes

  • Enables experimental formatting of embedded snippets in JavaScript; snippets with interpolations are not supported yet.

    2.4.0release notes

  • Controls file watcher behavior with recommended, polling, or none strategies.

    2.4.0release notes

  • Sets the polling watcher interval in milliseconds; it defaults to 2000 and applies only with the polling watcher.

    2.4.0release notes

  • Adds an HTML lint rule that disallows the accesskey attribute.

    2.4.0release notes

  • Adds an HTML lint rule that disallows distracting elements such as <marquee> or <blink>.

    2.4.0release notes

  • Controls file watcher behavior with recommended, polling, or none strategies.

    2.4.0release notes

  • Sets the polling watcher interval in milliseconds; it defaults to 2000 and applies only with the polling watcher.

    2.4.0release notes

  • Adds a linter domain that enables rules requiring the type inference engine, distinct from the project domain.

    2.4.0release notes

  • Adds an HTML lint rule requiring elements with ARIA roles to have all required ARIA attributes for those roles.

    2.4.0release notes

  • Adds an HTML lint rule requiring a present and valid type attribute on button elements.

    2.4.0release notes

  • Adds an HTML lint rule requiring the html element to have a lang attribute.

    2.4.0release notes

  • Adds an HTML lint rule requiring iframe elements to have a title attribute.

    2.4.0release notes

  • Adds extensionMappings so users can specify custom file extensions for different module types.

    2.4.0release notes

  • Setting checkForEach to false skips checks for values returned by forEach callbacks.

    2.4.0release notes

  • When enabled, groups object keys by value nesting depth before sorting alphabetically.

    2.4.0release notes

  • Makes the rule ignore overload signatures whose JSDoc comments differ.

    2.4.0release notes

  • Makes the rule ignore overload signatures whose parameter names differ.

    2.4.0release notes

  • Adds an HTML lint rule requiring elements with ARIA roles to use a valid, non-abstract role.

    2.4.0release notes

  • 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.

    2.3.15release notes

  • Adds a nursery rule that reports redundant return; statements that do not affect function control flow.

    2.3.15release notes

  • Grit search functions are now exposed to WebAssembly.

    2.3.14release notes

  • Adds a CSS rule that flags deprecated media types such as tv and handheld.

    2.3.14release notes

  • Adds a lint rule for consistent enum value types.

    2.3.13release notesrelease notes

  • Adds support for the :active-view-transition pseudo-class.

    2.3.12release notes

  • The GritQL $filename metavariable can now be used in where clauses to filter matches by filename.

    2.3.12release notes

  • Adds a nursery rule that disallows regular expressions beginning with explicitly written equal signs.

    2.3.12release notes

  • Adds a GraphQL nursery rule enforcing unique enum value names.

    2.3.12release notes

  • Adds a nursery rule enforcing a maximum number of classes per file.

    2.3.12release notes

  • Adds a nursery lint rule that reports files exceeding a configurable line limit; it is also available for CSS and GraphQL.

    2.3.12release notes

  • Adds a nursery rule disallowing new operators outside of assignments or comparisons.

    2.3.12release notes

  • Adds a nursery rule to disallow specified GraphQL root types, such as mutation or subscription.

    2.3.12release notes

  • Adds a nursery rule that requires rethrown caught errors to be wrapped in a new Error with the original error as cause.

    2.3.12release notes

  • Adds a Next.js nursery rule requiring an id attribute on next/script components with inline content or dangerouslySetInnerHTML.

    2.3.12release notes

  • Adds a nursery rule that disallows anonymous operations when a document specifies more than one operation.

    2.3.12release notes

  • Adds a nursery rule requiring queries, mutations, subscriptions, or fragments to be located in separate files.

    2.3.12release notes

  • Adds a nursery Next.js rule preventing next/script's beforeInteractive strategy outside pages/_document.js.

    2.3.11release notes

  • Adds a nursery rule disallowing .bind(), arrow functions, or function expressions in JSX props.

    2.3.11release notes

  • Adds a nursery rule to help prevent multiple chained assignments in one statement.

    2.3.11release notes

  • Adds a nursery rule disallowing assignments inside return statements.

    2.3.11release notes

  • Adds a nursery GraphQL rule enforcing unique arguments for fields and directives.

    2.3.11release notes

  • Adds a nursery GraphQL rule requiring all fields of a type to be unique.

    2.3.11release notes

  • Adds a nursery GraphQL rule requiring fields within an input object to be unique.

    2.3.11release notes

  • Adds a nursery rule enforcing unique variable names for GraphQL operations.

    2.3.11release notes

  • Adds a nursery rule enforcing a consistent defineProps declaration style.

    2.3.11release notes

  • 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.

    2.3.11release notes

  • 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.

    2.3.11release notes

  • Adds a nursery rule that validates root-level Vue template elements: templates with src must be empty, and other templates must contain content.

    2.3.11release notes

  • Adds a nursery rule enforcing valid uses of the v-cloak directive in Vue single-file components.

    2.3.11release notes

  • Adds a nursery rule that checks whether v-once directive usages in Vue single-file components are valid.

    2.3.11release notes

  • Adds a nursery rule enforcing valid uses of the v-pre directive in Vue single-file components.

    2.3.11release notes

  • Adds a nursery rule enforcing <script setup vapor> in Vue single-file components.

    2.3.11release notes

  • Adds a rule requiring elements using v-for to also specify a key.

    2.3.11release notes

  • Added a nursery rule that disallows ambiguous anchor descriptions.

    2.3.10release notes

  • Implements the noScriptUrl lint rule.

    2.3.9release notes

  • Implements the useAwaitThenable lint rule.

    2.3.9release notes

  • Adds a lint rule for destructuring.

    2.3.9release notesrelease notes

  • Adds the useRegexpExec lint rule.

    2.3.9release notes

  • Adds the useRequiredScripts JSON lint rule.

    2.3.9release notes

  • Implements the vue/noSetupPropsReactivityLoss lint rule.

    2.3.9release notes

  • Adds a nursery rule that disallows spreading the same identifier multiple times in JSX props.

    2.3.8release notes

  • Adds a rule enforcing === and !== instead of == and != when comparing with null.

    2.3.8release notes

  • Adds a rule to help prevent potential leaks when rendering components that use binary expressions or ternaries.

    2.3.8release notes

  • Adds a rule that disallows creating multiline strings by escaping newlines.

    2.3.8release notes

  • Adds a rule that disallows using the __proto__ property to get or set an object's prototype.

    2.3.8release notes

  • Adds a nursery rule that disallows ternary operators.

    2.3.8release notes

  • CSS parsing and formatting now support the CSS if function.

    2.3.7release notes

  • New lint rule enforces valid v-text directives by reporting arguments, modifiers, or missing values.

    2.3.7release notes

  • The Biome HTML parser can parse and format Svelte if, else-if, and else blocks.

    2.3.5release notes

  • A nursery rule requires Array#sort and Array#toSorted calls to provide a compareFunction.

    2.3.5release notes

  • Adds a nursery lint rule that disallows continue statements in favor of structured control flow such as if.

    2.3.4release notes

  • The React Activity component was added to Biome's known React APIs.

    2.3.0release notes

  • The resolver now supports baseUrl in tsconfig.json.

    2.3.0release notes

  • A checkstyle reporter was added.

    2.3.0release notes

  • This CLI flag controls whether CSS Modules syntax is enabled for parsing.

    2.3.0release notes

  • This CLI flag controls whether Tailwind CSS 4.0 directives and functions are enabled.

    2.3.0release notes

  • Enabling this CSS parser option allows Tailwind v4 syntax additions to be parsed and formatted.

    2.3.0release notes

  • Formatting embedded content in HTML files is now supported.

    2.3.0release notes

  • Parsing JSON embedded in other content is now supported.

    2.3.0release notes

  • 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.

    2.3.0release notes

  • The includes setting now supports force-ignore syntax.

    2.3.0release notes

  • This CLI flag allows formatting to proceed on files with syntax errors.

    2.3.0release notes

  • The auto variant selects CRLF on Windows and LF on macOS and Linux, matching the operating system's expected line-ending style.

    2.3.0release notes

  • An analyzer was added for HTML.

    2.3.0release notes

  • This configuration enables or disables HTML assist support.

    2.3.0release notes

  • This option controls indentation of content inside script and style tags in Vue and Svelte files; it is disabled by default.

    2.3.0release notes

  • This option enables parsing of text expressions delimited by double curly braces in HTML files; expression contents are parsed as normal text.

    2.3.0release notes

  • This configuration enables or disables HTML linting; the HTML linter initially includes the noHeaderScope rule.

    2.3.0release notes

  • Full experimental support was added for HTMLish languages.

    2.3.0release notes

  • An option was implemented to control indentation of scripts and styles.

    2.3.0release notes

  • This CLI flag controls whether comments are allowed in JSON files.

    2.3.0release notes

  • This CLI flag controls whether trailing commas are allowed in JSON files.

    2.3.0release notes

  • lineEndings gained an auto mode.

    2.3.0release notes

  • The noUnknownAtRule rule gained an ignore option.

    2.3.0release notes

  • The rule accepts an ignore option; matching unknown at-rules no longer emit a diagnostic.

    2.3.0release notes

  • --skip and --only now support domains.

    2.3.0release notes

  • This package is recognized as an alias for react when handling the reactClassic jsxRuntime.

    2.3.0release notes

  • The checkstyle reporter emits diagnostics in Checkstyle format.

    2.3.0release notes

  • The rdjson reporter emits diagnostics in RDJSON format.

    2.3.0release notes

  • CSS parsing now supports Tailwind v4 directives.

    2.3.0release notes

  • Added a nursery rule that disallows meaningless JavaScript, CSS, JSON, and GraphQL files to prevent codebase clutter.

    2.2.7release notes

  • 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.

    2.0.0release notes

  • Adds a top-level suppression that suppresses specified analyzer rules for an entire file and must be placed at the beginning of the file.

    2.0.0release notes

  • Provides an environment-variable alternative to --threads for controlling CLI thread usage.

    2.0.0release notes

  • The formatter option is now supported in JSON files.

    2.0.0release notes

  • Adds an array and object formatting option for JavaScript and JSON with auto, always, and never values.

    2.0.0release notes

  • Added the // microsyntax for extending a nested configuration from the root configuration; it implies root: false.

    2.0.0release notes

  • Adds a root-configuration setting to override the scanner's internal ignored names list; accepts file or folder names, not paths or globs.

    2.0.0release notes

  • Added experimental formatting support for .html files, enabled by opting in through this configuration field.

    2.0.0release notes

  • Controls whether the trailing slash of HTML void elements is printed; the default removes it, while always preserves it.

    2.0.0release notes

  • 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.

    2.0.0release notes

  • Controls whether Biome expects JSX syntax in .js, .mjs, and .cjs files; defaults to true.

    2.0.0release notes

  • Introduces domain-based rule opt-in, allowing rules associated with a domain to be enabled, disabled, or enabled when recommended.

    2.0.0release notes

  • Linter groups now accept options to enable or disable all rules in a group and set their severity.

    2.0.0release notes

  • Adds a CLI argument that writes invocation log messages to the specified path instead of stdout.

    2.0.0release notes

  • Now accepts tracing, which prints timing information from tracing spans to the log.

    2.0.0release notes

  • Added monorepo support using a root biome.json configuration and nested configurations marked with root: false.

    2.0.0release notes

  • Adds a domain that enables rules for Next.js projects.

    2.0.0release notes

  • Added the noAwaitInLoop lint rule.

    2.0.0release notes

  • Adds a rule disallowing bitwise operators.

    2.0.0release notes

  • Adds an option to reject rel="noreferrer" and require rel="noopener" for links with target="_blank".

    2.0.0release notes

  • Adds a lint rule inspired by ESLint's no-constant-binary-expression rule.

    2.0.0release notes

  • Adds a lint rule for detecting floating promises.

    2.0.0release notes

  • Adds a CSS rule preventing the use of !important inside CSS declarations.

    2.0.0release notes

  • Adds a lint rule for detecting import cycles.

    2.0.0release notes

  • Adds a rule disallowing nested component definitions in React components.

    2.0.0release notes

  • Adds an option to allow or deny property assignments on function parameters; defaults to allow.

    2.0.0release notes

  • Adds a rule disallowing assignment to React props.

    2.0.0release notes

  • Added a rule that prevents use of specified HTML elements and components.

    2.0.0release notes

  • Added a lint rule that disallows variable declarations from shadowing variables in an outer scope.

    2.0.0release notes

  • Adds a lint rule for detecting @ts-ignore usage.

    2.0.0release notes

  • Adds a nursery rule that detects imports of non-existing exports.

    2.0.0release notes

  • Adds an option to report variables created using the rest pattern when set to false.

    2.0.0release notes

  • Adds a lint rule for detecting unwanted Polyfill.io usage.

    2.0.0release notes

  • Added the noUselessStringConcat lint rule.

    2.0.0release notes

  • Adds an option for enabling lint rules using their default severity.

    2.0.0release notes

  • Adds a code action that inserts a suppression comment for each violation.

    2.0.0release notes

  • Adds a code action that inserts a file-level suppression comment for a rule.

    2.0.0release notes

  • Adds a domain that enables rules for React projects.

    2.0.0release notes

  • Added to the analyzer globals.

    2.0.0release notes

  • Adds a domain for rules related to Solid projects.

    2.0.0release notes

  • Adds a lint command option that writes a suppression comment with the supplied reason instead of applying a rule fix.

    2.0.0release notes

  • Adds options allowing specific labels.

    2.0.0release notes

  • Syntax rules can now be suppressed, providing an escape hatch when a rule is affected by a bug.

    2.0.0release notes

  • Adds a ci command option to control the number of threads used by the CLI.

    2.0.0release notes

  • Type exports now support renaming types to default.

    2.0.0release notes

  • Adds a rule requiring getters and setters for the same property to be adjacent in class and object definitions.

    2.0.0release notes

  • Added the useArrayLiterals lint rule, which now also provides an unsafe code fix.

    2.0.0release notes

  • Adds a JavaScript rule enforcing a consistent object definition style, with shorthand enforced by default.

    2.0.0release notes

  • Added a rule that detects missing switch cases; it currently supports only literal union types.

    2.0.0release notes

  • Added the useExponentiationOperator lint rule.

    2.0.0release notes

  • Added a rule enforcing Solid's For component for mapping arrays to JSX elements.

    2.0.0release notes

  • Adds forceJsExtensions for users of tsc's module node16 setting.

    2.0.0release notes

  • Added a style option to enforce an import style for importing types.

    2.0.0release notes

  • Added the useIndexOf lint rule, based on unicorn's prefer-array-index-of rule.

    2.0.0release notes

  • Adds a rule requiring return values in callbacks for iterable methods that use them and disallowing return values in forEach callbacks.

    2.0.0release notes

  • Added a rule requiring JSON module imports to include the with { type: "json" } import attribute.

    2.0.0release notes

  • Added the useNumberToFixedDigitsArgument lint rule.

    2.0.0release notes

  • Added the useNumericLiterals lint rule.

    2.0.0release notes

  • Adds a rule encouraging numeric separators to improve readability.

    2.0.0release notes

  • Adds a rule preferring object spread syntax over Object.assign() when constructing new objects.

    2.0.0release notes

  • Added the useSimplifiedLogicExpression lint rule.

    2.0.0release notes

  • Adds a rule requiring JSDoc comment lines to start with a single asterisk.

    2.0.0release notes

  • Adds a JavaScript assist rule that sorts object properties while treating spread and calculated keys as non-sortable boundaries.

    2.0.0release notes

  • Adds the useSymbolDescription lint rule.

    2.0.0release notes

  • Adds a rule disallowing static IDs in React components and encouraging unique IDs generated with useId.

    2.0.0release notes

Performance 64

  • Linting files without suppression comments is up to 61% faster.

    2.6.8release notes

  • Locates binding nodes near the query node.

    2.6.8release notes

  • Skips the suppression token pass in files without suppression comments.

    2.6.8release notes

  • Improves linting performance for JavaScript and HTML files when Tailwind rules are enabled.

    2.6.8release notes

  • Lint passes spend less time stepping over syntax nodes that no enabled rule looks at.

    2.6.6release notes

  • 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.

    2.6.5release notes

  • Improved the performance of Grit plugins that use regular expressions.

    2.6.5release notes

  • Improved performance for JavaScript plugins that read node.kind.

    2.6.5release notes

  • Improved performance for JavaScript plugins that read token.kind.

    2.6.5release notes

  • 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.

    2.6.4release notes

  • Linting is about 1% to 3% faster on large projects, especially with default rules and rules tracking variables or unreachable code.

    2.6.4release notes

  • Linting spends less time setting up enabled rules for each analyzed file.

    2.6.4release notes

  • Linting, checking, and CI are up to 12% faster on files where rules report diagnostics with code fixes, using default rules.

    2.6.4release notes

  • Processing many files is up to 7% faster.

    2.6.4release notes

  • Improves CLI performance on projects with many files during cleanup.

    2.6.2release notes

  • Formatting files without syntax errors is faster because formatted code is no longer parsed a second time; JSON files are unaffected.

    2.6.2release notes

  • Improved performance of the biome search command.

    2.6.2release notes

  • Improves formatter performance in files with little or no comments.

    2.6.2release notes

  • Linting and assists are faster, especially when few rules are enabled, such as with --only.

    2.6.2release notes

  • Linting and assists are up to 50% faster on some files.

    2.6.2release notes

  • Improves linting performance by computing syntax node ranges without allocating edge tokens.

    2.6.2release notes

  • The rule spends much less time in files without irregular whitespace.

    2.6.2release notes

  • The rule spends much less time in files without an @ts-ignore comment.

    2.6.2release notes

  • Commands using the server now process files on all available CPU cores instead of at most four files at a time.

    2.6.2release notes

  • The HTML formatter is up to 4x faster.

    2.5.15release notes

  • Indexing and analysis of big files are up to 2x faster, especially in projects using project and types lint rules.

    2.5.15release notes

  • Type inference is significantly faster, with benchmark speedups of about 2–240x for some popular libraries, affecting all rules that use type information.

    2.5.15release notes

  • Improves formatting performance for documents containing many HTML-native or SVG-native tags.

    2.5.14release notes

  • Formatting and checking large parenthesized object expressions no longer exhibit quadratic slowdowns.

    2.5.14release notes

  • Improves formatter performance by up to approximately 50% in some cases.

    2.5.13release notes

  • Improves linting performance for large CSS and JSON files.

    2.5.13release notes

  • Improves type inference performance by avoiding resolution of unused members in object arguments.

    2.5.12release notes

  • Calls to non-Promise methods on third-party TypeScript classes are classified using targeted type information instead of expensive full type inference.

    2.5.11release notes

  • Rule performance was improved.

    2.5.10release notes

  • Rule performance was improved.

    2.5.10release notes

  • Rule performance was improved.

    2.5.10release notes

  • Rule performance was improved.

    2.5.10release notes

  • Rule performance was improved.

    2.5.10release notes

  • Rule performance was improved.

    2.5.10release notes

  • Rule performance was improved.

    2.5.10release notes

  • Rule performance was improved.

    2.5.10release notes

  • Skips type inference for assignment statements, which are always considered handled.

    2.5.7release notes

  • Skips graph traversals for imports that cannot be part of a cycle.

    2.5.7release notes

  • Collecting rule timings performs better in heavily multithreaded environments.

    2.5.7release notes

  • Formatter performance improved by up to approximately 7% across the board.

    2.5.6release notesrelease notes

  • Fixed a performance regression that caused type inference to run repeatedly while linting a file.

    2.5.6release notes

  • Fixed a performance regression by inferring only requested types and memoizing export resolution.

    2.5.6release notesrelease notes

  • The lint rule is about 50% faster.

    2.5.5release notes

  • The HTML parser is slightly faster in synthetic benchmarks.

    2.5.4release notes

  • Cancels certain in-flight operations during fast updates and orchestrates operations so they do not block the editor during typing, especially in large documents.

    2.5.2release notes

  • The formatter is now up to about 20% faster at formatting files in some cases.

    2.5.0release notes

  • Linter performance improves, especially in larger projects with more than about 1,000 files.

    2.5.0release notes

  • Narrowed query nodes for several lint rules, reducing how often they are evaluated.

    2.4.15release notes

  • Fix-all operations run faster by running rules with code fixes first, followed by the remaining rules.

    2.4.11release notes

  • Improved performance when check is called with --write.

    2.4.10release notes

  • 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.

    2.4.10release notes

  • Improved performance when lint is called with --write.

    2.4.10release notes

  • Slightly improves performance in projects that have more than about 2,000 files.

    2.4.7release notes

  • The rule improves performance by short-circuiting its logic.

    2.4.6release notes

  • Cycle detection explicitly excludes node_modules, improving performance in proportion to dependency-tree size.

    2.4.6release notes

  • The rule is slightly faster due to an early return optimization and simplified character detection.

    2.4.3release notes

  • Reduces system calls when running the CLI; performance may be noticeable in large projects with multiple libraries and project rules enabled.

    2.3.11release notes

  • Improves rule performance by eliminating string allocations.

    2.3.11release notes

  • Reduced formatter memory use and improved performance by enabling internal source maps only when needed.

    2.3.9release notes

Behavior and default changes 191

  • Narrows types after explicit local predicate calls.

    2.6.8release notes

  • Narrows types after standalone assertion calls.

    2.6.8release notes

  • Expands coverage to all form controls.

    2.6.7release notes

  • Now checks variables used in loop iterated values, destructuring or parameter defaults, and single-expression arrow function bodies.

    2.6.7release notes

  • Expands the cases covered by the noUselessStringConcat lint rule.

    2.6.7release notes

  • CSS inside styled.a.attrs() is now parsed as an embedded CSS snippet.

    2.6.7release notes

  • No longer offers to add the u flag to patterns that would become invalid or change meaning in Unicode mode, while still reporting them.

    2.6.7release notes

  • The parser now parses MDX ESM blocks and expressions, as well as MDX JSX tags.

    2.6.6release notes

  • The CLI checks files on disk while editors retain their own open-file text, preventing unsaved editor content from being checked or lost.

    2.6.4release notes

  • Biome migrates the Prettier option to formatter.bracketSpacing at the top level and inside overrides, aligning JSON and GraphQL spacing with JavaScript.

    2.6.4release notes

  • The rule now reports v-else and v-else-if used with v-for.

    2.6.4release notes

  • Prints the command summary, --max-diagnostics warning, and skipped-fixes notice to stderr instead of stdout so they do not mix with diagnostics.

    2.6.3release notes

  • 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.

    2.6.2release notes

  • Running biome init in a Git repository, including nested directories and worktrees, now generates configuration with Git VCS integration enabled.

    2.6.2release notes

  • With this setting enabled, the editor now offers code actions for diagnostics inside embedded code in Astro, Vue, Svelte, and HTML files.

    2.6.2release notes

  • Enabling this option formats JavaScript interpolations in CSS-in-JS templates while leaving the text glued to interpolations unchanged.

    2.6.2release notes

  • Promoted 59 nursery rules to stable groups, changing their rule groups and, for specified rules, recommendation status or severity.

    2.6.2release notes

  • Biome now infers untagged template literals as strings, allowing type-aware rules such as noUselessTypeConversion to report more cases.

    2.6.2release notes

  • Type lowering now handles computed members and infers symbol-keyed access.

    2.5.15release notes

  • Watched-file patterns are scoped to each workspace folder, with deprecated rootUri fallback and compatible absolute glob patterns for clients without relative-pattern support.

    2.5.15release notes

  • When plugins fail to load, Biome prints each failing plugin's path on its own line instead of concatenating error messages.

    2.5.15release notes

  • Type lowering now handles readonly types and infers const generics.

    2.5.15release notes

  • SCSS now supports interpolation in containers, layers, property names, and the attr function.

    2.5.15release notes

  • Can now match TypeScript interface snippets.

    2.5.14release notes

  • Expands the cases supported by the useIncludes lint rule.

    2.5.14release notes

  • Adds support for interpolated SCSS URL values.

    2.5.12release notes

  • Interpolation delimiters stay attached to whitespace-sensitive boundaries and adjacent inline siblings, wrapping expressions when needed to fit the configured line width.

    2.5.11release notes

  • Template literal attribute values are now supported in Astro.

    2.5.10release notes

  • The Tailwind parser now understands container-query variants, child and descendant variants, combinator selectors in arbitrary variants, variant modifiers, and arbitrary container-query sizes.

    2.5.9release notes

  • Added ordering of variants in sort_v4.

    2.5.8release notes

  • The HTML formatter writes a standalone HTML5 doctype in lowercase in plain .html files.

    2.5.7release notes

  • The HTML formatter lays out srcset candidates as a list, collapsing whitespace between candidates and putting each candidate on its own line when needed.

    2.5.7release notes

  • Added support for preserved SCSS custom properties.

    2.5.6release notes

  • SCSS variables are now allowed in rule lists.

    2.5.6release notes

  • The sort_v4 ordering was updated to order same-utility values, order by name, resolve dashed statics, and sort candidates by property signature.

    2.5.6release notes

  • YAML comments are indented according to their block structure.

    2.5.6release notes

  • YAML node properties are kept on the entry line.

    2.5.6release notes

  • When the formatter is enabled, the command reports the code frame of the formatted code.

    2.5.5release notes

  • Biome now breaks the arguments of curried describe.each calls when they exceed the configured line width.

    2.5.4release notes

  • Biome now breaks the arguments of curried it.each calls when they exceed the configured line width.

    2.5.4release notes

  • Biome now breaks the arguments of curried test.each calls when they exceed the configured line width.

    2.5.4release notes

  • Biome now breaks the arguments of curried test.for calls when they exceed the configured line width.

    2.5.4release notes

  • The rule now sorts important-suffix classes in sort_v4.

    2.5.4release notes

  • The Markdown formatter changes bullet list spacing.

    2.5.3release notes

  • The CSS parser can parse hyphen-led interpolated properties.

    2.5.2release notes

  • The CSS parser can parse SCSS variable media features.

    2.5.2release notes

  • The editor feature is disabled by default to avoid scanner-triggered module graph construction that could cause memory leaks.

    2.5.1release notes

  • CSS parsing allows delimiters in bracketed value lists.

    2.5.0release notes

  • Improves how diagnostics print long lines of code, such as minified files printed on one line.

    2.5.0release notes

  • When VCS ignore files are enabled, Biome skips files listed in Git's local exclude file, including in linked worktrees.

    2.5.0release notes

  • Core now respects files excluded by git info.

    2.5.0release notes

  • The init command now prints the Biome logo.

    2.5.0release notes

  • Ports noAriaUnsupportedElements to HTML.

    2.5.0release notes

  • Promoted the rule from nursery to the style group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the style group.

    2.5.0release notes

  • Promotes the rule to the performance group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • The rule now collects local and global styles and has improved class detection.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Uses type information to detect more redundant optional chaining, coalescing, logical operators, nullish comparisons, and never-matching switch cases.

    2.5.0release notes

  • CSS parsing allows SCSS declarations in @page blocks.

    2.5.0release notes

  • SCSS parsing and formatting gain support for additional syntax, including semicolonless rules, interpolated at-rules and conditions, variables in keyframes, and improved formatting.

    2.5.0release notes

  • SCSS now allows nested declarations.

    2.5.0release notesrelease notes

  • CSS parsing now supports SCSS qualified names in values and function calls.

    2.5.0release notes

  • Biome's core file handling now handles SVG files.

    2.5.0release notes

  • The Tailwind parser now parses variant expressions.

    2.5.0release notes

  • CSS parsing adds unary expression support.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the suspicious group.

    2.5.0release notes

  • Promoted the rule from nursery to the style group.

    2.5.0release notes

  • Added parser support for SCSS interpolated dashed identifiers and properties.

    2.4.16release notes

  • Added parsing support for interpolated SCSS nested properties.

    2.4.16release notes

  • Added support for SCSS interpolation in attribute selectors.

    2.4.16release notes

  • The formatter aligns SCSS map pair value layout.

    2.4.16release notes

  • Tailwind parsing now differentiates between number and non-number values.

    2.4.16release notes

  • Adds header spacing and proper word filling, and removes trailing spaces in Markdown lists.

    2.4.15release notes

  • Improves formatting for SCSS @each, @if and @else if rules, maps, parenthesized lists and expressions, include arguments, and function arguments with trailing commas.

    2.4.15release notes

  • Adds parsing support for interpolated nth arguments, spaced function heads, and string concatenation and improved interpolation handling in url() functions.

    2.4.15release notes

  • Parses Tailwind arbitrary values as CSS.

    2.4.15release notes

  • Improves formatting for SCSS includes, maps, comments, trailing separators, interpolated values, control rules, and expressions.

    2.4.14release notes

  • Adds CSS parser support for SCSS interpolated values.

    2.4.14release notes

  • Biome now emits a warning diagnostic when a file exceeds the configured maximum size.

    2.4.12release notes

  • Project selection now prefers the most specific project root in nested workspaces.

    2.4.11release notes

  • The rule now allows omitting annotations for trivially inferable expressions, including binary, comparison, logical, array, conditional, and call expressions, class instantiation, and parameter defaults.

    2.4.11release notes

  • The rule now detects ternary expressions that check for null or undefined and suggests rewriting them with ??.

    2.4.11release notes

  • The diagnostic now includes the configuration file path and working directory, making the issue easier to debug.

    2.4.8release notes

  • Adds support for SCSS interpolation in selectors and declaration names.

    2.4.8release notes

  • When the domains field is configured, Biome automatically enables domains when it detects certain dependencies in package.json.

    2.4.7release notes

  • The rule now covers inequality and strict inequality operators.

    2.4.7release notes

  • When enabled, recognizes graphql as a valid embedded GraphQL template tag in JavaScript, supporting GraphQL tags used in RelayJS.

    2.4.5release notes

  • SCSS qualified name detection is enhanced.

    2.4.4release notes

  • Formatting is now applied when safe or unsafe fixes are applied via the command.

    2.4.0release notes

  • Biome searches user configuration locations after the project and parent folders, with platform-specific config-home paths.

    2.4.0release notes

  • The CSS property ordering was updated to align with stylelint-config-recess-order v7.4.0, adding support for additional property groups.

    2.4.0release notes

  • Biome recognizes Cursor JSON files in known Cursor locations and parses them with comments and trailing commas enabled.

    2.4.0release notes

  • Biome supports parsing :global and :local in style sections of .astro, .svelte, and .vue files when experimentalFullHtmlSupportedEnabled is true.

    2.4.0release notes

  • The experimental formatter was overhauled to more closely resemble Prettier, which may produce large formatting diffs in HTML, Vue, Svelte, and Astro files.

    2.4.0release notes

  • Biome automatically enables CSS modules parsing for files matching this pattern.

    2.4.0release notes

  • Promoted from nursery to the suspicious group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the suspicious group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the suspicious group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the suspicious group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the style group with default severity info.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the suspicious group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the suspicious group with default severity warn.

    2.4.0release notes

  • Promoted from nursery to the complexity group with default severity info.

    2.4.0release notes

  • Promoted from nursery to the complexity group with default severity info.

    2.4.0release notes

  • Promoted from nursery to the correctness group with default severity warn.

    2.4.0release notes

  • Setting RUST_BACKTRACE=1 makes a stacktrace available for fatal errors.

    2.4.0release notes

  • Promoted from nursery to the style group with default severity info.

    2.4.0release notes

  • Promoted from nursery to the suspicious group with default severity warn.

    2.4.0release notes

  • The CSS parser can parse Vue SFC pseudo functions such as :slotted and :deep inside .vue components when experimentalFullHtmlSupportedEnabled is true.

    2.4.0release notes

  • When wrapping comma-separated declaration values, the formatter now breaks at top-level commas.

    2.3.11release notes

  • The rule now supports bracket notation for process.env and import.meta.env, plus Bun.env and Deno.env.get access.

    2.3.11release notes

  • Diagnostics emitted by nursery rules now include a message making users aware of the rules' nursery status.

    2.3.11release notes

  • When the supplied path does not exist on disk, Biome treats it as virtual and skips files.includes and VCS ignore checks.

    2.3.11release notes

  • The rule now runs only on script setup blocks.

    2.3.11release notes

  • Updated formatting of the iframe allow attribute to match Prettier 3.7's behavior.

    2.3.9release notes

  • The volume of logging from the server was reduced.

    2.3.9release notes

  • Supports negative-value utilities when sorting classes.

    2.3.9release notes

  • Formatting conditional types with generic parameters now prefers breaking after the assignment operator to match Prettier.

    2.3.8release notes

  • Editors and the language server now detect formatting support when range or on-type formatting is supported, not only full-file formatting.

    2.3.8release notes

  • The rule now allows files to export from themselves.

    2.3.8release notes

  • The rule now allows filenames starting with a dollar sign by default, supporting file-based routing conventions.

    2.3.8release notes

  • The rule now flags Object.assign in reduce only when a new object is allocated on each iteration.

    2.3.7release notes

  • The HTML parser can parse Vue directives, enabling Vue lint rules that inspect template sections; experimental full support may also introduce parsing errors.

    2.3.5release notes

  • Tailwind parsing adds support for negative candidates.

    2.3.3release notes

  • The YAML parser can parse the document end token.

    2.3.3release notes

  • The init command detects known ignore files and generated folders, then adds corresponding VCS ignore settings or force-excludes dist folders in biome.json.

    2.3.0release notes

  • The --only flag now accepts domain names to run all rules belonging to a domain.

    2.3.0release notes

  • The --skip flag now accepts domain names to skip all rules belonging to a domain.

    2.3.0release notes

  • 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.

    2.3.0release notes

  • Error logging emitted while loading possible configuration files was removed.

    2.3.0release notes

  • Diagnostics are now emitted from embedded nodes.

    2.3.0release notes

  • Code fixes can now be applied in snippets.

    2.3.0release notes

  • Reporter outputs now show Information-severity diagnostics and count them in the final output.

    2.3.0release notes

  • This lint rule was promoted to the suspicious group.

    2.3.0release notes

  • This lint rule was promoted to the security group.

    2.3.0release notes

  • Lint rules were promoted.

    2.3.0release notes

  • 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.

    2.3.0release notes

  • --skip and --only now support domains.

    2.3.0release notes

  • Formatting of JavaScript blocks now indents their contents to match Prettier's formatting.

    2.3.0release notes

  • This lint rule was promoted to the style group.

    2.3.0release notes

  • This lint rule was promoted to the style group.

    2.3.0release notes

  • Formatting of JavaScript blocks now indents their contents to match Prettier's formatting.

    2.3.0release notes

  • The maximum allowed line limit increased from 255 to 65,535, better supporting large JSX and front-end components.

    2.2.7release notes

  • The daemon now reuses a workspace across connections, allowing clients to share documents and cached data; the CLI can opt in with --use-server.

    2.0.0release notes

  • 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.

    2.0.0release notes

  • The migrate command can migrate nested configuration files; run it from the project root for projects with nested configurations.

    2.0.0release notes

  • The command now prints the configuration path relative to the working directory when applicable.

    2.0.0release notes

  • The option is now applied to lint, check, and ci commands.

    2.0.0release notes

  • When a folder contains both biome.json and biome.jsonc, Biome warns and uses biome.json by default.

    2.0.0release notes

  • Biome now emits a warning diagnostic when the configuration contains an out-of-sync schema URL.

    2.0.0release notes

  • Formatting now wraps CSS value lists in a more readable way while preserving semantic structure, aligning with Prettier.

    2.0.0release notes

  • Biome now prints diagnostics by severity in information, warning, error order, placing errors last.

    2.0.0release notes

  • Can now be overridden for specific files using configuration overrides.

    2.0.0release notes

  • Several rules now emit warnings or information instead of errors, and noDelete and noForEach are no longer recommended.

    2.0.0release notes

  • Every rule has a suggested default severity, including recommended rules, and users can use that severity or choose one themselves.

    2.0.0upgrade guide

  • When retrieving code actions, the first choice suggested by the client is now the safe fix.

    2.0.0release notes

  • Biome VCS integration now supports nested ignore files, with nested .gitignore patterns applying inside their folder.

    2.0.0release notes

  • The rule now checks only regular expression literals, not dynamically built regular expressions.

    2.0.0release notes

  • The rule now ignores .ts files when package.json has type set to commonjs.

    2.0.0release notes

  • checkTypes now defaults to false, so undeclared TypeScript type references are ignored unless it is set to true.

    2.0.0release notes

  • Now keeps comments separated from an import with a blank line when removing an empty import.

    2.0.0release notes

  • Now reports empty named imports and suggests their removal.

    2.0.0release notes

  • Diagnostic messages now include the name of the unused binding.

    2.0.0release notes

  • Now accepts rule and action names without a group prefix.

    2.0.0release notes

  • The recommended rule set changed: some rules were added or removed, and noRenderReturnValue and useExhaustiveDependencies are recommended only with the react domain enabled.

    2.0.0release notes

  • Style-group rules no longer emit errors unless configured otherwise.

    2.0.0upgrade guide

  • Suppression comments using <explanation> as the reason now produce a warning diagnostic.

    2.0.0release notes

  • Suppression comments with an empty explanation now produce a warning diagnostic.

    2.0.0release notes

  • These files are now treated the same as tsconfig.json files.

    2.0.0release notes

  • The rule now allows single spaces.

    2.0.0release notes

  • The rule adds support for arrow functions and now allows explicitly annotated variables and variables with trivial right-hand sides.

    2.0.0release notes

  • The rule now ignores TypeScript declaration files.

    2.0.0release notes

  • The rule now accepts character escapes at the start of a regex group in its matching configuration.

    2.0.0release notes

  • The rule now ignores unused variables prefixed with an underscore.

    2.0.0release notes

  • The rule now ignores concatenated literals folded to multiple lines.

    2.0.0release notes

  • Now accepts comparisons of a typeof expression against variables.

    2.0.0release notes

  • With this flag, the summary reporter prints the files processed and the files fixed.

    2.0.0release notes

  • LSP clients can now override the configuration path for each workspace by responding to workspace/configuration requests.

    2.0.0release notes

  • Workspace internal APIs now use camelCase.

    2.0.0release notes

Tooling 177

  • Type inference supports conditional types and infer bindings.

    2.6.8release notes

  • Adds a lint rule for Drizzle database objects used inside transactions.

    2.6.8release notes

  • Adds a lint rule for deprecated Vue v-is usage.

    2.6.8release notes

  • 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.

    2.6.7release notes

  • Adds the noDisabledButton lint rule.

    2.6.7release notes

  • Adds the noInvalidFetchOptions lint rule.

    2.6.7release notes

  • Adds the noNewArray lint rule.

    2.6.7release notes

  • Adds a lint rule for React direct state mutation.

    2.6.7release notes

  • Adds the noScssNullComparison lint rule.

    2.6.7release notes

  • Adds the noSvelteAsyncStore lint rule.

    2.6.7release notes

  • Adds the noUnresolvedDefaultImport lint rule.

    2.6.7release notes

  • Adds the noUselessFallbackInSpread lint rule.

    2.6.7release notes

  • Adds a nursery rule that reports constructor assignments duplicating TypeScript's automatic initialization of parameter properties.

    2.6.7release notes

  • Adds the noUselessParameterPropertyAssignment lint rule.

    2.6.7release notes

  • 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.

    2.6.7release notes

  • Adds the noUselessQualifier lint rule.

    2.6.7release notes

  • Adds the noUselessSpread lint rule.

    2.6.7release notes

  • Adds a nursery rule that reports expose() and defineExpose() calls after an await in Vue component setup code, because they run too late.

    2.6.7release notes

  • Adds the noVueExposeAfterAwait lint rule.

    2.6.7release notes

  • Adds the useAtomicUpdates lint rule.

    2.6.7release notes

  • Adds the useCatchErrorName lint rule.

    2.6.7release notes

  • Adds the useConsistentFontWeightNotation lint rule.

    2.6.7release notes

  • Adds the useConsistentTupleLabels lint rule.

    2.6.7release notes

  • Adds a nursery rule that reports matchAll() calls with regular expressions lacking the g flag, which throw a TypeError at runtime.

    2.6.7release notes

  • When a rule panics, Biome now reports the active analyzer rule and source range and suggests disabling the rule as a workaround.

    2.6.5release notes

  • Added the noArrayForEach lint rule.

    2.6.5release notes

  • Added the noAwaitInPromiseMethods lint rule.

    2.6.5release notes

  • Added the noChainedComparison lint rule.

    2.6.5release notes

  • Added the noDynamicDelete lint rule.

    2.6.5release notes

  • Added the noLateEventControl lint rule.

    2.6.5release notes

  • Added the noMapSpread lint rule.

    2.6.5release notes

  • Added the noMismatchedMapKey lint rule.

    2.6.5release notes

  • Added the noMissingScssInterpolation lint rule.

    2.6.5release notes

  • Added the noMissingThrow lint rule.

    2.6.5release notes

  • Added the noObjectLiteralComparison lint rule.

    2.6.5release notes

  • Added the noPlaywrightUnsafeReferences lint rule.

    2.6.5release notes

  • Added the noSinglePromiseInPromiseMethods lint rule.

    2.6.5release notes

  • Added the noSyncMethods lint rule.

    2.6.5release notes

  • Added the noTanstackQueryVoidQueryFn lint rule.

    2.6.5release notes

  • Added the noUnnecessaryStringTrim lint rule.

    2.6.5release notes

  • Added the noUselessAwait lint rule.

    2.6.5release notes

  • Added the noUselessTypeAssertion lint rule.

    2.6.5release notes

  • Added the noVueChildContent lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedDestroyedLifecycle lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedEventsApi lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedFunctionalTemplate lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedHtmlElementIs lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedInlineTemplate lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedModelDefinition lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedPropsDefaultThis lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedSlotAttribute lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedSlotScope lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedVBindSync lint rule.

    2.6.5release notes

  • Added the noVueDeprecatedVOnNativeModifier lint rule.

    2.6.5release notes

  • Added the noVueExcessiveProps lint rule.

    2.6.5release notes

  • Added the noVueLoneTemplate lint rule.

    2.6.5release notes

  • Added the noVueMultipleObjectsInClass lint rule.

    2.6.5release notes

  • Added the noVueRefObjectReactivityLoss lint rule.

    2.6.5release notes

  • Added the noVueRestrictedCallAfterAwait lint rule.

    2.6.5release notes

  • Added the noVueRestrictedVOn lint rule.

    2.6.5release notes

  • Added the noVueTemplateKey lint rule.

    2.6.5release notes

  • Added the noVueTemplateShadow lint rule.

    2.6.5release notes

  • Added the noVueTextareaMustache lint rule.

    2.6.5release notes

  • Added the noVueThisInBeforeRouteEnter lint rule.

    2.6.5release notes

  • Added the noVueThisInTemplate lint rule.

    2.6.5release notes

  • Added the noVueUndeclaredEmits lint rule.

    2.6.5release notes

  • Added the noVueUndeclaredProperties lint rule.

    2.6.5release notes

  • Added the noVueUndeclaredSlots lint rule.

    2.6.5release notes

  • Added the useAccessorPairs lint rule.

    2.6.5release notes

  • Added the useObjectFromEntries lint rule.

    2.6.5release notes

  • Added the useSetSize lint rule.

    2.6.5release notes

  • Added the useSvelteStoreInitialValue lint rule.

    2.6.5release notes

  • Added the useTanstackQueryInfiniteQueryPropertyOrder lint rule.

    2.6.5release notes

  • Added the useTanstackQueryStableQueryClient lint rule.

    2.6.5release notes

  • Added the useVueBlockOrder lint rule.

    2.6.5release notes

  • Added the useVueBooleanPropTypeFirst lint rule.

    2.6.5release notes

  • Added the useVueComputedPropertyReturn lint rule.

    2.6.5release notes

  • Added the useVueDefaultProp lint rule.

    2.6.5release notes

  • Added the useVueEmitValidator lint rule.

    2.6.5release notes

  • Added the useVuePropTypeConstructor lint rule.

    2.6.5release notes

  • Added the useVueRenderReturn lint rule.

    2.6.5release notes

  • Added the useVueSingleEventPayload lint rule.

    2.6.5release notes

  • Added the useVueSlotsAsFunctions lint rule.

    2.6.5release notes

  • Added the useVueTypedObjectProps lint rule.

    2.6.5release notes

  • Added the useVueValidAttributeName lint rule.

    2.6.5release notes

  • Added the useVueValidDefaultProp lint rule.

    2.6.5release notes

  • Added the useVueValidDefineOptions lint rule.

    2.6.5release notes

  • Added the useVueValidNextTick lint rule.

    2.6.5release notes

  • Allows migration of the react/no-render-return-value ESLint rule.

    2.6.3release notes

  • Allows migration of the react/self-closing-comp ESLint rule.

    2.6.3release notes

  • Adds a nursery rule reporting indexed loops that read the same position from several arrays, which can use Iterator.zip().

    2.6.3release notes

  • Adds a nursery rule requiring Math.trunc() instead of bitwise operations or parseInt(String(x), 10) to remove a number's decimal part.

    2.6.3release notes

  • Migration recognizes more upstream rules covered by Biome rules and explains why additional unsupported rules are skipped.

    2.6.2release notes

  • The npm distribution adds Android Termux support through Android arm64 and x64 CLI packages using static musl binaries.

    2.6.2release notes

  • Biome now formats and lints .scss files and recognizes .module.scss files as CSS Modules.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • Biome now supports formatting .yaml and .yml files.

    2.6.2release notes

  • Type lowering now handles array type syntax.

    2.5.15release notes

  • Multiline Astro expressions are indented at the surrounding markup column, and biome format now formats Astro expressions too.

    2.5.15release notes

  • Type lowering now handles generic type constraints.

    2.5.15release notes

  • Type lowering now includes global functions from source declarations.

    2.5.15release notes

  • Type lowering now handles indexed access types.

    2.5.15release notes

  • Type inference now lowers Intl namespace declarations.

    2.5.15release notes

  • Type lowering now handles keyof type operators.

    2.5.15release notes

  • Added a lint rule that detects React object types used as default props.

    2.5.15release notes

  • Type lowering now handles Symbol call signatures.

    2.5.15release notes

  • Type lowering now handles Symbol static members.

    2.5.15release notes

  • Adds suite() as an alias of describe() across test analysis rules and formatter; rules also recognize fsuite, xsuite, and test.suite blocks.

    2.5.14release notes

  • Test rules accept suite() as an alias of describe().

    2.5.14release notes

  • Adds detection of undeclared custom Vue directives.

    2.5.14release notes

  • Can capture and inspect multiple named import specifiers and match captured JSX component names against snippets such as React.Fragment.

    2.5.13release notes

  • Astro fragment shorthand is now supported.

    2.5.10release notes

  • A JavaScript transform can erase type annotations in TypeScript code.

    2.5.10release notes

  • biome rage now includes RUST_BACKTRACE in its environment variable metadata.

    2.5.9release notes

  • Added a Markdown linter.

    2.5.8release notes

  • Added support for declaration tags using let and const; Biome can parse, format, and lint their bindings.

    2.5.6release notesrelease notes

  • Improves the schema's developer experience in code editors such as VSCode.

    2.5.1release notes

  • The language server can navigate to definitions of supported JavaScript variables, types and components, CSS classes, and entities in HTML-ish files.

    2.5.0release notes

  • Rewrite operators now produce fixable diagnostics for JavaScript, CSS, and JSON; rewrites are unsafe by default and need --write --unsafe unless marked safe.

    2.5.0release notes

  • Promotes the rule to the complexity group.

    2.5.0release notes

  • Promotes the rule to the performance group.

    2.5.0release notes

  • Promotes the rule to the complexity group.

    2.5.0release notes

  • Dependency linting supports pnpm catalogs.

    2.5.0release notes

  • Biome can now format and lint SVG files.

    2.5.0release notes

  • Promotes the rule to the complexity group.

    2.5.0release notes

  • Promotes the rule to the performance group.

    2.5.0release notes

  • The CLI can apply GritQL plugin rewrites when run with --write.

    2.5.0release notes

  • Added formatter support for SCSS keyframes selectors.

    2.4.16release notes

  • The LSP file watcher now watches this configuration file and reloads workspace settings when it changes.

    2.4.14release notes

  • Updated migration metadata better reflects which ESLint rules are redundant, unsupported, or unimplemented.

    2.4.12release notes

  • Improved the diagnostic to explain why autofocus harms accessibility outside allowed modal contexts.

    2.4.12release notes

  • Improved the diagnostic to explain why calling global objects like Math or JSON is invalid and how to fix it.

    2.4.12release notes

  • Improved the diagnostic to explain why using a declaration too early is problematic and how to fix it.

    2.4.12release notes

  • Improved the diagnostic to explain why escaped multiline strings are discouraged and what to use instead.

    2.4.12release notes

  • Improved the diagnostic to explain that the reported root type is disallowed by project configuration and how to proceed.

    2.4.12release notes

  • Improved the diagnostic to explain why comparing a value to itself is suspicious and what to use for NaN checks.

    2.4.12release notes

  • Improved the diagnostic to explain why later shorthand declarations can unintentionally overwrite earlier longhand properties.

    2.4.12release notes

  • Improved the diagnostic to explain why exposing then can create thenable behavior and how to avoid it.

    2.4.12release notes

  • Adds a nursery rule that disallows the deprecated networkidle wait option.

    2.4.2release notes

  • Adds a nursery rule that disallows page.pause() debugging calls in committed code.

    2.4.2release notes

  • Adds a nursery rule that prefers modern navigation APIs over deprecated waitForNavigation().

    2.4.2release notes

  • Adds a nursery rule that prefers locators over deprecated waitForSelector().

    2.4.2release notes

  • Adds a nursery rule that disallows hard-coded timeouts with waitForTimeout().

    2.4.2release notes

  • Adds a nursery rule that validates describe callback signatures are not async.

    2.4.2release notes

  • The Biome Language Server reports progress while scanning project files and dependencies.

    2.4.0release notes

  • Adds an assist action that sorts TypeScript interface members and includes an autofix.

    2.4.0release notes

  • Adds migration metadata for several TypeScript, Vue, and unicorn ESLint rules.

    2.3.15release notes

  • The migration summary now explains why rules were not migrated, helping users decide how to handle ESLint configuration migration.

    2.3.14release notes

  • The migration command now detects rules for CSS, GraphQL, and HTML.

    2.3.13release notes

  • Adds a nursery rule that reports Vue Options API usage, which is incompatible with Vue 3.6's Vapor Mode.

    2.3.12release notes

  • Adds parsing and formatting support for Svelte {#await} syntax when html.experimentalFullSupportEnabled is true.

    2.3.11release notes

  • Adds parsing and formatting support for Svelte {#each} syntax when html.experimentalFullSupportEnabled is true.

    2.3.11release notes

  • Adds parsing and formatting support for Svelte {#snippet} syntax when html.experimentalFullSupportEnabled is true.

    2.3.11release notes

  • The command can be used to remove large logs after the LSP server's logging volume was reduced.

    2.3.9release notes

  • The command now reports whether experimental HTML full support is enabled.

    2.3.9release notes

  • Adds special formatting for the iframe allow attribute.

    2.3.9release notes

  • Biome can parse and format the Svelte {@attach} syntax; expressions inside it are not formatted yet.

    2.3.5release notes

  • Biome can parse and format the Svelte {@const} syntax; expressions inside it are not formatted yet.

    2.3.5release notes

  • Biome can parse and format the Svelte {@html} syntax; expressions inside it are not formatted yet.

    2.3.5release notes

  • Biome can parse and format Svelte {#key} blocks; expressions inside them are not formatted yet.

    2.3.5release notes

  • Biome can parse and format the Svelte {@render} syntax; expressions inside it are not formatted yet.

    2.3.5release notes

  • The HTML parser can now parse and format the Svelte {@debug} syntax.

    2.3.4release notes

  • The init command was enhanced.

    2.3.0release notes

  • Experimental support enables linting and formatting JavaScript or TypeScript, HTML, and CSS contained in these files; parsing inaccuracies and edge cases may remain.

    2.3.0release notes

  • This file is now recognized as a well-known file.

    2.3.0release notes

  • An rdjson reporter was added to the CLI.

    2.3.0release notes

  • React 19.2 is now supported by the JavaScript analyzer.

    2.3.0release notes

  • Some lint rules were moved to the react domain.

    2.3.0release notes

  • React library aliases were added.

    2.3.0release notes

  • CSS formatters were implemented for new Tailwind nodes.

    2.3.0release notes

  • Indentation support was added for Vue and Svelte files.

    2.3.0release notes

  • Now reports which ESLint rules were migrated and which are unsupported or require optional migration flags.

    2.0.0release notes

  • Adds a rule disallowing destructured props in Solid projects.

    2.0.0release notes

  • organizeImports is now part of Biome Assist.

    2.0.0release notes

  • Several rules now have safe fixes: noExtraBooleanCast, noNonoctalDecimalEscape, noSwitchDeclarations, noThisInStatic, noUnusedTemplateLiteral, noUselessContinue, and noUselessElse.

    2.0.0release notes

  • The LSP now offers suppression actions when a syntax rule is violated.

    2.0.0release notes

  • Adds the test domain, which enables test-related rules and injects test globals.

    2.0.0release notes

Fixes and other changes 733

  • Now adds suppression comments for diagnostics emitted by plugins.

    2.6.8release notes

  • Stops printing a comment twice when it ends the line of an element's opening tag.

    2.6.8release notes

  • No longer deletes comments following a Svelte block delimiter on the same line.

    2.6.8release notes

  • 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.

    2.6.8release notes

  • The unsafe fix removes the whole element.

    2.6.8release notes

  • Recognizes the selectedcontent element.

    2.6.8release notes

  • Vue emit rules now recognize events declared with a function type and event names written as template literals without substitutions.

    2.6.8release notes

  • Suppression actions are now emitted for plugin diagnostics.

    2.6.8release notes

  • Corrects diagnostic locations on unquoted object keys so the highlight begins at the full key.

    2.6.8release notes

  • Preserves this aliases in class field initializers.

    2.6.8release notes

  • Now select the matching overload of a method declared multiple times in an interface or object type, improving rule results for overloaded methods.

    2.6.8release notes

  • 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.

    2.6.8release notes

  • Correctly infers intersections of primitive types with their literal types, allowing type-aware rules to see the literal.

    2.6.8release notes

  • 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.

    2.6.8release notes

  • Parenthesizes in bodies in for initializers.

    2.6.8release notes

  • Traces bindings further to determine whether arguments are bigints.

    2.6.8release notes

  • Checks whether Boolean is the global before applying the rule.

    2.6.8release notes

  • Counts this in parameter defaults when checking class methods.

    2.6.8release notes

  • Recognize MathML Core and known hyphenated HTML and SVG elements as native elements rather than Vue components in Vue, Svelte, and Astro files.

    2.6.8release notes

  • No longer panics on a composes declaration whose value contains a non-identifier token; it reports a diagnostic instead.

    2.6.7release notes

  • Sorts consecutive property groups independently.

    2.6.7release notes

  • Patterns now match snippets containing a trailing list separator.

    2.6.7release notes

  • Keeps a blank line after a blockquote that ends a list item.

    2.6.7release notes

  • 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.

    2.6.7release notes

  • No longer progressively indents rows of a table inside a blockquote when it follows a multiline paragraph.

    2.6.7release notes

  • Keeps a paragraph in its outer block quote when a quote-only blank line closes a nested block quote.

    2.6.7release notes

  • Normalizes spaces inside inline and reference link text without removing whitespace-only text.

    2.6.7release notes

  • Keeps table rows aligned inside blockquotes.

    2.6.7release notes

  • Wrapped task-list paragraphs are aligned with the text following the checkbox.

    2.6.7release notes

  • Now checks declarations at the top level of embedded CSS templates.

    2.6.7release notes

  • Now checks declarations at the top level of embedded CSS templates.

    2.6.7release notes

  • Now checks declarations at the top level of embedded CSS templates.

    2.6.7release notes

  • Checks declarations inside at-rules such as @page and @font-face, so references to custom properties declared in :root are reported.

    2.6.7release notes

  • No longer reports var declarations inside switch clauses, matching ESLint's no-case-declarations.

    2.6.7release notes

  • No longer reports var declarations.

    2.6.7release notes

  • Fixes handling of TypeScript paths.

    2.6.7release notes

  • No longer reports digit-leading hex colors as unknown units in SCSS custom properties or unquoted legacy IE filter values.

    2.6.7release notes

  • Now checks constructor parameter default values: using this there is reported because it runs before super(), and super() there is recognized.

    2.6.7release notes

  • A comment before a SCSS map entry with a parenthesized group no longer makes that group indent one level too deep.

    2.6.7release notes

  • Biome now detects CSS in styled-components templates using .attrs(), so those templates are formatted and linted like ordinary styled templates.

    2.6.7release notes

  • Svelte {@const} tags with TypeScript type annotations now parse and format in components with script lang="ts".

    2.6.7release notes

  • Object type constraints in Svelte script generics attributes now parse and format as TypeScript type parameters.

    2.6.7release notes

  • Adds the useGlobalRegexInMatchAll lint rule.

    2.6.7release notes

  • 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.

    2.6.7release notes

  • No longer reports partial nullish checks.

    2.6.7release notes

  • Detects and fixes infinite for loops.

    2.6.7release notes

  • Biome now parses SCSS negative interpolation list items as separate values instead of an invalid subtraction operator.

    2.6.6release notes

  • Section globs no longer skip the character following a bracket expression; nested-brace section globs are also supported instead of ignored.

    2.6.5release notes

  • Section globs with unbalanced braces now match braces literally, consistent with the EditorConfig reference implementation.

    2.6.5release notes

  • 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.

    2.6.5release notes

  • Options under the top-level grit configuration key are now applied, so Grit files use their grit formatter settings rather than global formatter settings.

    2.6.5release notes

  • 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.

    2.6.5release notes

  • The language server skips unchanged dynamic capability registrations, preventing duplicate watched-file notifications in affected editors.

    2.6.5release notes

  • 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.

    2.6.5release notes

  • Formatting no longer splits a blockquote when an empty > line separates its list items.

    2.6.5release notes

  • 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.

    2.6.5release notes

  • Formatting no longer indents an empty > line between a list and paragraph in a blockquote, preventing the paragraph from moving out of the quote.

    2.6.5release notes

  • Fixed code fixes duplicating comments attached to the wrapped expression.

    2.6.5release notes

  • Astro and Svelte formatting now preserves comments and whitespace inside preformatted elements such as <pre> and <textarea>.

    2.6.5release notes

  • 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.

    2.6.5release notes

  • Unknown dashed utilities with arbitrary values or CSS variables no longer cause parse errors; useTailwindSortedClasses sorts them like other unknown classes.

    2.6.5release notes

  • 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.

    2.6.5release notes

  • Fixed an access violation that could crash Biome when formatting, linting, or checking files on Windows ARM64.

    2.6.5release notes

  • The LSP now warns when the configuration file cannot be loaded.

    2.6.4release notes

  • Synchronizes recess property order and preserves the cascade when sorting CSS properties.

    2.6.4release notes

  • Resolves an imported type merged with a value to the type in annotations.

    2.6.4release notes

  • Open editor files retain their editor text when changed on disk, keeping diagnostics, code actions, and formatting at the correct positions.

    2.6.4release notes

  • The language server now warns when a configuration file cannot be parsed instead of silently stopping file processing.

    2.6.4release notes

  • Open files are parsed again with updated parser options after configuration changes.

    2.6.4release notes

  • 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.

    2.6.4release notes

  • Formatting preserves the newline between a block quote and a list.

    2.6.4release notes

  • Continues block quotes inside deep list items.

    2.6.4release notes

  • Markdown table formatting is now idempotent.

    2.6.4release notes

  • Preserves the blank line between a blockquote and a following list, matching Prettier.

    2.6.4release notes

  • Preserves the blank line between a table and a following list, matching Prettier.

    2.6.4release notes

  • Markdown list items with markers indented four or more spaces now nest at the correct level.

    2.6.4release notes

  • With proseWrap set to always, consecutive blockquote lines in deeply indented list items wrap together while preserving heading and code-block structure.

    2.6.4release notes

  • Keeps frontmatter of fenced Markdown blocks when formatting embedded content.

    2.6.4release notes

  • Nests list items by their enclosing content column.

    2.6.4release notes

  • When Markdown frontmatter parsing and embedded formatting are enabled, fenced Markdown frontmatter is preserved as written, including YAML indentation.

    2.6.4release notes

  • Generated pnpm lockfiles are now protected from Biome processing.

    2.6.4release notes

  • Default values in Vue v-for bindings are parsed as JavaScript and formatted and linted like other template expressions.

    2.6.4release notes

  • Fixes parsing of default values in v-for bindings.

    2.6.4release notes

  • Non-JSON files in Zed, VS Code, and Cursor global settings directories are no longer parsed as JSON.

    2.6.4release notes

  • Prints the summary and max diagnostics warning to stderr instead of stdout.

    2.6.3release notes

  • Preserves semicolons and line comments while sorting properties, and sorts properties inside keyframe steps.

    2.6.3release notes

  • Stops exclusion checks above the project root.

    2.6.3release notes

  • Checking the project root no longer applies files.includes exclusions to directories above the project.

    2.6.3release notes

  • Fixes parsing and formatting of executable descriptions and legacy fragment variables, and consistently removes insignificant commas.

    2.6.3release notes

  • Fixes GraphQL parsing and formatting.

    2.6.3release notes

  • Preserves parentheses around looser operands of instantiation expressions, before selected operators and heritage type arguments, and wraps new callees containing import calls.

    2.6.3release notes

  • With proseWrap set to always or never, the formatter no longer drops quote markers after an empty blockquote line.

    2.6.3release notes

  • Preserves the blank line before ordered lists that cannot interrupt paragraphs and retains blockquote markers after an empty quote line.

    2.6.3release notes

  • Preserves a blank line between a paragraph and following list, and keeps quote markers after empty quote lines.

    2.6.3release notes

  • Compares resolved nested selector targets, avoids reports for different targets, recognizes equivalent explicit and nested targets, and emits one diagnostic for repeated expansions.

    2.6.3release notes

  • Reports one diagnostic per repeated title, pointing to the first occurrence and each later occurrence, rather than one diagnostic per duplicate.

    2.6.3release notes

  • Counts grid cells instead of row text length.

    2.6.3release notes

  • Checks SCSS nested properties by their emitted name.

    2.6.3release notes

  • Stops treating a switch without a default as breaking early.

    2.6.3release notes

  • Preserves parentheses around instantiation expressions before operators, non-null assertions, class heritage type arguments, and other instantiation operands so formatted code remains valid.

    2.6.3release notes

  • Checks type annotations to avoid likely false positives.

    2.6.3release notes

  • Fixes migration of useLogicalProperties.

    2.6.3release notes

  • Fixes invalid CSS output when sorting properties without a final semicolon while preserving comments; also sorts properties inside CSS and SCSS @keyframes animations.

    2.6.3release notes

  • Processing instructions such as XML declarations no longer cause parse errors in Astro and Vue files.

    2.6.2release notes

  • Fixed a parser error for shorthand attributes that use an expression instead of a bare identifier.

    2.6.2release notes

  • Commands using the server now report the same diagnostics as runs without the server instead of skipping some files after a pending write.

    2.6.2release notes

  • Successfully migrates empty nested configuration files without introducing an invalid trailing comma.

    2.6.2release notes

  • Now shows the resolved files.includes and files.ignoreUnknown configuration.

    2.6.2release notes

  • Returns as soon as the daemon shuts down instead of waiting 15 seconds and failing with a remote workspace timeout.

    2.6.2release notes

  • Fixes indentation of multiline function arguments preceded by comments.

    2.6.2release notes

  • A comment above a CSS rule no longer removes indentation from the rule's wrapped selector.

    2.6.2release notes

  • Bare if identifiers in CSS if() branch values are parsed correctly.

    2.6.2release notes

  • Accepts Tailwind @custom-variant names that start with a digit, such as 2xl.

    2.6.2release notes

  • Duplicate-name diagnostics identify the duplicated name, highlight its first occurrence, point to repeated occurrences, and report repeated duplicates separately.

    2.6.2release notes

  • CSS metavariables in compound and complex selectors and property names now match intended rules and declarations in GritQL plugins and biome search.

    2.6.2release notes

  • Patterns such as { $key: $value } can now bind metavariables in object keys and values.

    2.6.2release notes

  • Files with the .htm extension are now recognized as HTML.

    2.6.2release notes

  • Fixed a parse error when an attribute named ? comes immediately before the end of a tag.

    2.6.2release notes

  • Sequence expressions returned from return or throw statements are wrapped in parentheses to match Prettier.

    2.6.2release notes

  • No longer duplicates comments inside an empty object, array, or class spread in JSX on each formatting pass.

    2.6.2release notes

  • Fixed errors sent by the Biome language server to the editor with an empty message so logs show the underlying explanation.

    2.6.2release notes

  • Improved diagnostic quality for the listed lint rules.

    2.6.2release notes

  • Rules from a domain set to none now remain disabled when an override configures another rule in the same group.

    2.6.2release notes

  • Type inference resolves properties of mapped types, including generic aliases instantiated with concrete type arguments; key remapping with an as clause remains unsupported.

    2.6.2release notes

  • The rule no longer reports arbitrary modifiers, so bg-black/[0.5] and text-sm/[18px] are valid.

    2.6.2release notes

  • 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.

    2.6.2release notes

  • JavaScript assist overrides and HTML parser, linter, and assist overrides are now applied to matching files.

    2.6.2release notes

  • Svelte class: and style: directive modifiers are parsed separately from directive names, and a slash correctly closes the tag.

    2.6.2release notes

  • No longer duplicates binding names when converting redundant bind: initializers to shorthand syntax.

    2.6.2release notes

  • The formatter no longer puts Svelte snippet parameters on separate lines when they fit on one line.

    2.6.2release notes

  • Parenthesized and unary expressions inside arbitrary Tailwind values now parse correctly.

    2.6.2release notes

  • Keeps dashed utility names such as drop-shadow, flex-grow, and max-w-screen intact when parsing Tailwind classes.

    2.6.2release notes

  • Accepts arbitrary variants whose selector starts with an attribute selector.

    2.6.2release notes

  • Accepts CSS variable shorthands whose fallbacks contain parentheses, including in variants and modifiers.

    2.6.2release notes

  • Tailwind @theme at-rules now accept any number of options, including prefix(...).

    2.6.2release notes

  • For loops with truthy literal tests are handled as infinite loops, consistent with while and do...while loops.

    2.6.2release notes

  • Shorthand suggestions avoid invalid or behavior-changing replacements for several utility groups and preserve !important with leading or trailing markers.

    2.6.2release notes

  • The rule now checks only calls to Vue's defineProps macro, avoiding reports for unrelated calls and locally imported functions with that name.

    2.6.2release notes

  • Vue event handlers containing statements are formatted across lines when needed; handlers beginning with a statement are parsed and receive the semicolon Vue needs.

    2.6.2release notes

  • Fixed Astro formatting of embedded content.

    2.5.15release notes

  • No longer adds invalid parentheses around Svelte {@const} declarations when experimental HTML support and formatting are enabled.

    2.5.15release notes

  • 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.

    2.5.15release notes

  • The CLI no longer crashes when output is piped to a closed pipe.

    2.5.15release notes

  • Type inference now fully lowers Date constructor members.

    2.5.15release notes

  • Disabling one domain no longer disables rules that also belong to another enabled domain; explicitly configured rules also remain enabled.

    2.5.15release notes

  • Fixed incorrect type inference when generic parameters are reused across inherited types or swapped in recursive types.

    2.5.15release notes

  • No longer inserts a space after a within pattern without an until clause.

    2.5.15release notes

  • No longer duplicates comments around Svelte blocks, including comments after blocks and comments before branch or closing tags.

    2.5.15release notes

  • No longer removes the space between text and an inline element on the next line when joining lines.

    2.5.15release notes

  • Regex literals beginning with > no longer terminate self-closing tags; regex literals after keywords such as return are recognized too.

    2.5.15release notes

  • The parser now compares complete opening and closing tag names.

    2.5.15release notes

  • The HTML lexer now treats a regex beginning with > as a regex.

    2.5.15release notes

  • The parser no longer misparses << as type arguments when the closing > is missing.

    2.5.15release notes

  • Long-running workspaces now reflect package manifest and TypeScript path-mapping changes without requiring the importing file to be edited.

    2.5.15release notes

  • No longer reports chained method calls such as builder.image(url).fit("max") as focused tests.

    2.5.15release notes

  • The rule now ignores chained .fit() method calls.

    2.5.15release notes

  • The fix now preserves the string value for octal escapes with a leading digit 4–7.

    2.5.15release notes

  • No longer reports view transition names inside view transition pseudo-elements.

    2.5.15release notes

  • No longer offers a safe fix for return; as the body of an unbraced if, else, or label; safe fixes also preserve surrounding comments.

    2.5.15release notes

  • String concatenation fixes now escape quotes.

    2.5.15release notes

  • Rules enabled by overlapping domains are now preserved.

    2.5.15release notes

  • VCS checks now account for parent ignore files.

    2.5.15release notes

  • The language server now handles relative glob patterns correctly.

    2.5.15release notes

  • The SCSS parser now accepts if inside a url function.

    2.5.15release notes

  • SCSS query values now support unary expressions.

    2.5.15release notes

  • Suppression comments now work on affected parts of HTML-like files and on snippets embedded in JavaScript files.

    2.5.15release notes

  • Comments at the end of a Svelte block's contents are now indented with the contents rather than the following tag.

    2.5.15release notes

  • Formatting now preserves const tag assignment syntax and fixes duplicate or incorrectly indented comments around Svelte blocks.

    2.5.15release notes

  • Tailwind classes in class expressions are now detected.

    2.5.15release notes

  • Tailwind classes are now detected in Svelte, Vue, and Astro class attribute expressions that do not use a class merging function.

    2.5.15release notes

  • Test rules no longer mistake regular method calls named test, it, or describe for tests.

    2.5.15release notes

  • More global types, including Array, Map, and Set, are fully defined, which should decrease false positives on typed rules.

    2.5.15release notes

  • Type-aware rules now resolve members through generic type aliases that instantiate another generic type with a nested generic argument.

    2.5.15release notes

  • Parses f<T> << f<T> as a left shift of two instantiation expressions, matching TypeScript instead of reporting a parse error.

    2.5.15release notes

  • A << expression followed by a later >>> is no longer misparsed as TypeScript type arguments.

    2.5.15release notes

  • The rule now preserves negative index expressions.

    2.5.15release notes

  • The rule now ignores loops that update the index in the loop body.

    2.5.15release notes

  • Removed the React 19 version requirement from the rule.

    2.5.15release notes

  • The rule no longer escapes a slash that is already escaped.

    2.5.15release notes

  • No longer reports boolean literals on the right side of || and && outside boolean contexts, where removing them can change the expression result.

    2.5.15release notes

  • Now evaluates parent directory patterns when matching child paths, preserving re-included directories while ignoring excluded siblings.

    2.5.15release notes

  • Linting now recognizes Vue slot bindings.

    2.5.15release notes

  • Typed slot props no longer produce a parse error, and types in slot prop annotations are recognized as used by noUnusedVariables.

    2.5.15release notes

  • Suppression comments targeting the entire assist category, including biome-ignore-all assist, are respected when running check.

    2.5.14release notes

  • Correctly writes fixes for code inside HTML attribute expressions instead of reporting fixable diagnostics without applying them.

    2.5.14release notes

  • No longer fails with conflicting rule fixes when multiple diagnostics target a declaration preceded by a multiline comment.

    2.5.14release notes

  • No longer modify the wrong part of Vue, Svelte, or Astro files when experimental full HTML support is disabled.

    2.5.14release notes

  • Fixes are now written back to attribute-expression embeds in HTML.

    2.5.14release notes

  • Associates annotations with the correct files when Biome runs from a nested directory.

    2.5.14release notes

  • Files re-included by negation patterns in a nested .gitignore are processed when vcs.useIgnoreFile is enabled, even if the ignore file contains *.

    2.5.14release notes

  • Grit plugin code fixes are now available as editor code actions.

    2.5.14release notes

  • Plugins that use sequential no longer panic when Biome processes files.

    2.5.14release notes

  • Import patterns now match namespace imports, including type-only imports; explicit import type patterns also match type-only named and namespace imports.

    2.5.14release notes

  • Preserves authored segment breaks between CJK characters and next to CJK punctuation instead of replacing them with spaces.

    2.5.14release notes

  • No longer applies native HTML element formatting to PascalCase component names in Vue, Svelte, and Astro files.

    2.5.14release notes

  • No longer applies SVG block formatting to unknown elements whose names match SVG element names.

    2.5.14release notes

  • Fixes redundant parentheses around binary and logical unary operands with leading line comments.

    2.5.14release notes

  • Inserts a newline before the closing angle bracket when a leading comment forces type arguments onto multiple lines.

    2.5.14release notes

  • Avoids extra parentheses and comment movement when formatting multiline expressions after operators such as !.

    2.5.14release notes

  • With operatorLinebreak set to before, own-line comments before binary operators stay above the operator.

    2.5.14release notes

  • Nested gitignore files now honor negation patterns.

    2.5.14release notes

  • Nested gitignore files now honor negation patterns.

    2.5.14release notes

  • Recognizes aliased named imports in single-file components under their local name.

    2.5.14release notes

  • Recognizes React 19.3 DOM properties instead of treating them as unknown attributes.

    2.5.14release notes

  • TypeScript class members using override accessor now parse correctly; accessor override reports that override must precede accessor.

    2.5.14release notes

  • The CSS parser now parses SCSS module variables in media queries.

    2.5.14release notes

  • Applies safe fixes without formatting files that have parse errors when formatter.formatWithErrors is disabled.

    2.5.14release notes

  • Correctly handles dashed utility base names and parses arbitrary values separately while preserving the complete base name.

    2.5.14release notes

  • Multiline template interpolations preserve the closing brace's indentation when source indentation is not a multiple of tabWidth.

    2.5.14release notes

  • Suppression comments now suppress matching HTML lint diagnostics on the following line when full HTML support is enabled.

    2.5.13release notes

  • Fixes parsing of unquoted URLs beginning with @ or ! and preserves escaped and non-ASCII whitespace in raw URLs during formatting.

    2.5.13release notes

  • No longer inserts whitespace between adjacent Svelte expressions when their combined length exceeds the line width.

    2.5.13release notes

  • 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.

    2.5.13release notes

  • The formatter no longer crashes on multiline expressions in files with CRLF line endings.

    2.5.12release notes

  • Astro expressions now parse TypeScript and JSX syntax, attribute values, comments, text, and embedded script and style contents according to Astro syntax.

    2.5.12release notes

  • Fixes handling of format suppression comments on TypeScript declared class properties with string literal names.

    2.5.12release notes

  • The Language Server no longer starts with debug logging enabled, preventing logs from growing exponentially in long sessions.

    2.5.12release notes

  • Fixes repeated dependency analysis that could lead to long and unresponsive sessions.

    2.5.12release notes

  • The formatter prints declare before accessibility modifiers on class properties, matching Prettier and TypeScript's canonical modifier order.

    2.5.12release notes

  • Biome no longer crashes while parsing malformed delete expressions.

    2.5.12release notes

  • Vanilla HTML no longer reports unsupported text expression diagnostics for double-curly text, and the formatter preserves adjacent curly-brace text.

    2.5.12release notes

  • Biome no longer crashes when linting malformed for...of statements.

    2.5.12release notes

  • Grit plugins can use function = ... as a node argument.

    2.5.12release notes

  • The formatter no longer moves comments next to the < of a generic, avoiding invalid TypeScript syntax.

    2.5.12release notes

  • Biome now parses legacy Internet Explorer filter and -ms-filter values such as progid:DXImageTransform... and alpha(opacity=40).

    2.5.12release notes

  • The configuration schema now correctly provides auto-completion for linter domains.

    2.5.12release notes

  • 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.

    2.5.12release notes

  • No longer reports Bun runtime built-in modules as unresolved imports.

    2.5.12release notes

  • Exempts any variable whose initializer references props, preventing false duplicate-key reports for derived script setup variables.

    2.5.12release notes

  • Biome preserves Unicode characters when writing source received through standard input to standard output.

    2.5.12release notes

  • Formatting a Svelte render tag followed by an HTML comment no longer duplicates the comment.

    2.5.12release notes

  • Whitespace now always allows the parser to recover from parsing failures and start parsing a new class.

    2.5.12release notes

  • Adjacent elements inside an Astro expression now parse as an implicit fragment instead of raising an error.

    2.5.11release notes

  • Astro templates now accept unclosed HTML void elements.

    2.5.11release notes

  • Re-export patterns now match named re-exports with aliases, inline type modifiers, and multiple specifiers.

    2.5.11release notes

  • The rule no longer reports template assignments to Vue <script setup> bindings whose names match built-in globals.

    2.5.11release notes

  • Biome now parses parenthesized object literals returned from arrow functions when they contain a conditional expression and a nested arrow function.

    2.5.11release notes

  • Files passed through this option now use full HTML support for Astro, Svelte, and Vue when it is enabled.

    2.5.11release notes

  • Variables and imports used as custom Vue directives are no longer reported as unused.

    2.5.11release notes

  • Astro now accepts JavaScript comments between attributes.

    2.5.10release notes

  • Astro now accepts attribute names that start with a colon, such as :href.

    2.5.10release notes

  • An Astro expression containing only a comment is no longer reported as a parse error, allowing the whole file to be formatted.

    2.5.10release notes

  • Empty Astro expressions such as <div>{}</div> now parse; Astro renders {} as nothing.

    2.5.10release notes

  • Astro expressions containing comments now parse, including expressions with a comment followed by a value.

    2.5.10release notes

  • A closing tag inside a string or comment no longer cuts an Astro frontmatter block short.

    2.5.10release notes

  • An Astro frontmatter block no longer ends on a line that merely starts with a dash.

    2.5.10release notes

  • Astro frontmatter is recognized only at the very start of a file; later --- lines are content.

    2.5.10release notes

  • The Astro parser recovers from malformed closing tags so later mistakes are reported where they occur rather than cascading.

    2.5.10release notes

  • {{ at the start of an Astro expression is parsed as an object literal rather than an interpolation.

    2.5.10release notes

  • Astro parses markup and interpolations in <pre> and <textarea> as ordinary elements, preventing variables used only inside them from being reported as unused.

    2.5.10release notes

  • A < that cannot open a tag is treated as text and needs no escaping.

    2.5.10release notes

  • Astro now accepts HTML5 unquoted attribute values containing backticks, equals signs, or quotes.

    2.5.10release notes

  • GritQL plugins now match and rewrite metavariables embedded in quoted strings.

    2.5.10release notes

  • Children of Astro elements carrying is:raw are parsed as raw text; <script> and <style> contents are no longer linted as JavaScript or CSS.

    2.5.10release notes

  • Fixed a memory leak that caused memory usage to grow over long editor sessions.

    2.5.10release notes

  • Svelte block openings are now recognized only in Svelte files; sequences such as {#if x} are ordinary text in HTML, Vue, and Angular files.

    2.5.10release notes

  • Biome no longer crashes when parsing incomplete {let} or {const} declarations in Svelte files.

    2.5.10release notes

  • The rule no longer reports Vue event handlers such as @click="count++".

    2.5.10release notes

  • Variables and imports used by Vue same-name bindings such as :disabled or v-bind:disabled are no longer reported as unused.

    2.5.10release notes

  • TypeScript path mapping targets without ./ are now resolved relative to their configured path base.

    2.5.9release notes

  • The CSS parser recovers at declaration boundaries after bogus declarations, allowing subsequent valid declarations to be parsed.

    2.5.9release notes

  • The CSS parser accepts Tailwind container-query variant names such as @xl and @max-xl in @variant.

    2.5.9release notes

  • Whitespace handling is corrected for marquee, noscript, video, audio, and object elements.

    2.5.9release notes

  • The formatter preserves meaningful blank lines, including spacing after elements with trailing spaces and blank lines between comment groups.

    2.5.9release notes

  • 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.

    2.5.9release notes

  • Invalid CSS declarations in HTML style attributes now produce parser diagnostics instead of causing a panic.

    2.5.9release notes

  • Wrapping accounts for the width of an adjacent closing tag, avoiding lines that exceed the configured width.

    2.5.9release notes

  • The rule now recognizes Vitest Browser Mode expect.element() calls as assertions.

    2.5.9release notes

  • SVG parsing now works for files with an XML declaration followed by a PUBLIC doctype.

    2.5.9release notes

  • The Tailwind parser now understands modifiers on bare utilities, including @container/sidebar and shadow/50.

    2.5.9release notes

  • The Tailwind parser now accepts the legacy leading ! important marker.

    2.5.9release notes

  • Biome no longer crashes with an access violation when analysing files on Windows ARM64.

    2.5.9release notes

  • CSS block comments between a declaration colon and value now preserve their source indentation.

    2.5.8release notes

  • CSS formatting keeps comments inside functional pseudo-classes and pseudo-elements instead of moving them before the function name.

    2.5.8release notes

  • Patterns with multiple metavariables now match snippets consistently in WebAssembly.

    2.5.8release notes

  • Svelte files now parse correctly when an expression begins with an object literal.

    2.5.8release notes

  • Preserves source indentation for line comments between a declaration colon and value.

    2.5.7release notes

  • Improves formatting of long block comments between comma-separated property values.

    2.5.7release notes

  • Preserves the configured trailing newline when a file ends with a comment.

    2.5.7release notes

  • Chooses an attribute quote character by counting quotes in the value; quote entities count as the characters they represent.

    2.5.7release notes

  • Keeps a blank line between an element and following text.

    2.5.7release notes

  • No longer prints a comment twice when it ends the line of the last element in a document.

    2.5.7release notes

  • Preserves the source content of textarea, xmp, and plaintext elements instead of collapsing their whitespace.

    2.5.7release notes

  • Suppression comments now suppress the rule in HTML files when an element's attributes span multiple lines.

    2.5.7release notes

  • Now recognizes Vue's :deep() pseudo-class inside .vue style blocks.

    2.5.7release notes

  • Now chooses the same function overload as TypeScript when an argument is a callback, allowing previously missed conditions to be reported.

    2.5.7release notes

  • No longer reports imports referenced only inside a Svelte attachment as unused.

    2.5.7release notes

  • No longer reports variables referenced only inside a Svelte attachment as unused.

    2.5.7release notes

  • CSS parsing of registered custom properties now correctly validates the syntax descriptor.

    2.5.7release notesrelease notes

  • CLI stdin mode now applies the nested configuration for the supplied file path and warns when that path is ignored.

    2.5.7release notes

  • The HTML formatter now formats Svelte files containing an array pattern that skips a position.

    2.5.7release notes

  • Now detects unsorted classes in static member expression tagged templates such as tw.div templates.

    2.5.7release notes

  • Resolves bare functional utilities with defaults in sort_v4.

    2.5.7release notes

  • 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.

    2.5.7release notes

  • Fixed YAML plain scalar # and alias name lexing, and property attachment across lines in block mappings.

    2.5.7release notes

  • Fixed non-idempotent formatting on Svelte files that added indentation to multiline template literals and block comments on each run.

    2.5.6release notesrelease notes

  • Fixed preservation of escaped attribute newlines without breaking parent groups.

    2.5.6release notes

  • Fixed formatting for multiline function arguments preceded by comments.

    2.5.6release notes

  • Biome correctly parses curried arrow functions in ternary consequents when the inner arrow's parameters use a destructuring pattern.

    2.5.6release notesrelease notes

  • The HTML parser now accepts mixed-case doctype declarations.

    2.5.6release notesrelease notes

  • Suppresses diagnostics when return-type comparisons cannot complete, instead of suggesting a return type from partial information.

    2.5.6release notes

  • Its quick fix now preserves operator spacing when simplifying or inverting boolean ternary expressions.

    2.5.6release notes

  • The reporter now populates each diagnostic's severity as ERROR, WARNING, or INFO, so consuming tools need not assume a default.

    2.5.6release notes

  • The CSS parser now handles hyphens in SCSS parent selectors.

    2.5.6release notes

  • The HTML formatter no longer duplicates comments directly before Svelte {@const ...} or {@debug ...} blocks on successive writes.

    2.5.6release notes

  • Svelte {#each} array destructuring no longer includes spaces inside square brackets, and multiline bind function expressions indent correctly.

    2.5.6release notes

  • More inferred types are resolved; for example, noFloatingPromises detects floating Promises returned by aliased callbacks and arrays of Promises created by async mapping callbacks.

    2.5.6release notesrelease notes

  • Logs no longer dump information irrelevant to user operations.

    2.5.5release notes

  • Corrects casing for syntax-owned CSS names while preserving author-defined names, including scoped keyframes and container scroll-state queries.

    2.5.5release notes

  • Keeps comments between declaration values and !important in the correct position.

    2.5.5release notes

  • Preserves comments on the correct side of selector combinators and before declaration blocks, and keeps fitting selectors with escaped newlines inline.

    2.5.5release notes

  • Biome no longer removes embedded styles and scripts in HTML files.

    2.5.5release notes

  • Closing one editor no longer stops a shared Biome daemon used by other editors; proxy processes exit when either the editor or daemon disconnects.

    2.5.5release notes

  • Space-indented bullets can interrupt paragraphs in block quotes.

    2.5.5release notes

  • Suppresses diagnostics when stringification inference cannot complete, avoiding reports based on partial type information.

    2.5.5release notes

  • Type-aware rules no longer panic when checking calls to functions with multiple call signatures imported from another module.

    2.5.5release notes

  • Suppresses diagnostics when Promise inference cannot complete, rather than treating incomplete type information as definitive.

    2.5.5release notes

  • Detects Object.fromEntries, Object.defineProperty, and Reflect.defineProperty calls even when comments occur between their tokens.

    2.5.5release notes

  • The HTML/Vue parser accepts the valid argument-less v-bind shorthand, including its longhand form, instead of crashing.

    2.5.5release notes

  • An orchestration fix prevents deadlocks when type-aware rules are enabled.

    2.5.5release notes

  • Accounts for shorthand attributes when computing implicit ARIA roles, avoiding false positives in Astro and Svelte files.

    2.5.5release notes

  • Recognizes bigint zero indexes.

    2.5.5release notes

  • Suppresses diagnostics when thenable inference cannot complete, rather than treating incomplete type information as definitive.

    2.5.5release notes

  • The rule now detects missing cases in unions of bigint literals and compares bigint spellings by value.

    2.5.5release notes

  • Recognizes specialised tuple element types returned through generic aliases.

    2.5.5release notes

  • Suppresses diagnostics when nullish inference cannot complete, avoiding reports based on partial type information.

    2.5.5release notes

  • The action no longer triggers for HTML instructions.

    2.5.5release notes

  • The Markdown parser now handles whitespace after list markers.

    2.5.4release notes

  • A module-inference regression introduced by a housekeeping change was fixed.

    2.5.4release notes

  • On-type formatting no longer moves comments before an if statement into its body.

    2.5.4release notes

  • Svelte directives no longer produce an accidental debug log.

    2.5.4release notes

  • Starting a newer daemon now removes stale Unix daemon sockets left by older Biome versions.

    2.5.4release notes

  • Astro shorthand attribute syntax is now correctly parsed from embedded nodes.

    2.5.3release notes

  • The parser now recovers when unsupported CSS Modules @value rules end at EOF instead of panicking.

    2.5.3release notes

  • Format-on-type no longer inserts stray whitespace after closing delimiters such as ), ], and }.

    2.5.3release notes

  • Checking or linting HTML files with unquoted attribute values no longer crashes.

    2.5.3release notes

  • The Biome Language Server no longer deadlocks when the scanner is enabled.

    2.5.3release notes

  • The Markdown formatter gains additional compatibility improvements.

    2.5.3release notes

  • 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.

    2.5.3release notes

  • The command now reports timings for each plugin separately as plugin/<pluginName> instead of aggregating them under plugin/plugin.

    2.5.3release notes

  • The parser now recovers when scoped @keyframes names end at EOF instead of panicking.

    2.5.3release notes

  • Inference for built-in globals and indexed function calls is more accurate, including Error calls, optional Error#stack, and calls through indexed function values.

    2.5.3release notes

  • No longer incorrectly analyzes .scss files.

    2.5.2release notes

  • No longer incorrectly formats snippets that have parsing errors.

    2.5.2release notes

  • Enables project or type-aware lint rules in the language server when they are explicitly enabled.

    2.5.2release notes

  • Preserves trivia when migrating the deprecated recommended option to preset.

    2.5.2release notes

  • Respects --config-path and BIOME_CONFIG_PATH when loading Biome configuration.

    2.5.2release notes

  • Detects running Biome daemon pipes on Windows.

    2.5.2release notes

  • Keeps a selector before a // line comment inline when formatting selector lists with allowWrongLineComments.

    2.5.2release notes

  • The CSS parser accepts nesting selectors with & as a trailing sub-selector after a type selector.

    2.5.2release notes

  • GritQL patterns now accept positional (unkeyed) arguments.

    2.5.2release notes

  • Correctly handle dynamic attributes.

    2.5.2release notes

  • Parses space-and-tab-indented sublists as nested list items.

    2.5.2release notes

  • Recognizes chained table tests such as test.concurrent.each() and it.concurrent.each() as test calls, fixing false positives and improving formatting.

    2.5.2release notes

  • Avoids false positives for Svelte components with both script module and script blocks by treating their bindings as a shared top-level scope.

    2.5.2release notes

  • For Svelte, Vue, and Astro files with html.experimentalFullSupportEnabled, no longer reports bindings used only in templates as unused.

    2.5.2release notes

  • The CSS parser accepts Tailwind @variant and @utility names that start with a digit.

    2.5.2release notes

  • The formatter preserves parentheses around await or yield expressions used as the target of an instantiation expression, avoiding changes to code meaning.

    2.5.2release notes

  • Recognizes a value with a callable then member as awaitable, including custom thenables that are not the global Promise.

    2.5.2release notes

  • Accepts Vue 3.4+ same-name shorthand :foo and v-bind:foo as equivalent to :foo="foo".

    2.5.2release notes

  • The GitLab reporter now handles verbose diagnostics filtering correctly.

    2.5.2release notes

  • Shuts down correctly when the editor closes during an in-progress operation, especially while scanning.

    2.5.1release notes

  • Improves loading multiple configuration files inside a workspace.

    2.5.1release notes

  • No longer prints an error when hovering a variable imported from node_modules.

    2.5.1release notes

  • 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.

    2.5.1release notes

  • Formats comments between import media queries inline with the media query instead of placing them on a separate line.

    2.5.1release notes

  • Escapes backslashes in diagnostic location paths so the reporter emits valid JSON for paths such as Windows-style paths.

    2.5.1release notes

  • Biome plugins are now properly filtered when this flag is used.

    2.5.1release notes

  • The parser now correctly parses processing instructions, so SVG documents containing an XML declaration no longer throw errors.

    2.5.1release notes

  • CSS declarations with comments before : or after !important now preserve spaces before : and ;.

    2.5.0release notes

  • The CSS parser now accepts comma-separated composes values.

    2.5.0release notes

  • The CSS parser now accepts comma-separated selector lists inside these pseudo-class functions.

    2.5.0release notes

  • CSS formatting keeps grid area rows aligned when comments precede multiline values.

    2.5.0release notes

  • Biome no longer rejects literal \u sequences in quoted HTML attribute values.

    2.5.0release notes

  • Reports a more precise range for the @ts-ignore comment.

    2.5.0release notes

  • The Svelte parser now accepts object destructuring with property renaming in each bindings.

    2.5.0release notes

  • The parser now accepts TypeScript as const assertions in each block iterable expressions.

    2.5.0release notes

  • Improves lint accuracy for interpolated quoted attribute values, eliminating false positives in noRedundantAlt, useButtonType, and noScriptUrl.

    2.5.0release notes

  • The parser now accepts these blocks without a binding, as well as the await shorthand forms.

    2.5.0release notes

  • Biome no longer crashes with a stack overflow on certain code when type-aware rules are enabled.

    2.5.0release notes

  • No longer reports false positives for Vue v-bind shorthand ARIA bindings.

    2.5.0release notes

  • The rule no longer reports argument-less v-bind directives that cannot be converted to shorthand syntax.

    2.5.0release notes

  • The rule now reports diagnostics only in Vue files and ignores SVG elements.

    2.5.0release notes

  • Vue event handlers with multiple inline statements are now parsed consistently with Vue.

    2.5.0release notes

  • Diagnostics in Astro files now show the correct location.

    2.4.16release notes

  • Biome no longer adds newlines to Astro frontmatter when linter or assist write mode is enabled.

    2.4.16release notes

  • The enabled rules list now includes rules enabled through linter domains.

    2.4.16release notes

  • Comments around declaration colons now stay at the same boundary as Prettier.

    2.4.16release notes

  • Fixed parsing of CSS custom functions in SCSS.

    2.4.16release notes

  • Comments no longer cause the formatter to split closing tags and produce syntactically invalid HTML.

    2.4.16release notes

  • Fenced code blocks now terminate at list-item boundaries.

    2.4.16release notes

  • List blank-line separators now stay inside the preceding item.

    2.4.16release notes

  • Fixed parsing of ordered sublist continuation.

    2.4.16release notes

  • Fixed Markdown parsing of tab-indented siblings.

    2.4.16release notes

  • Fixed diagnostics emitted by this rule.

    2.4.16release notes

  • The SCSS parser now allows omitting the final semicolon in at-rules.

    2.4.16release notesrelease notes

  • Fixed formatter handling of control variable maps in SCSS map expressions.

    2.4.16release notes

  • Fixed classification of interpolated query feature ranges.

    2.4.16release notes

  • Fixed preservation of blank lines between SCSS map pairs.

    2.4.16release notes

  • Fixed alignment of commented SCSS map value layout and map comment trailing commas.

    2.4.16release notes

  • The formatter now preserves raw SCSS string interpolation.

    2.4.16release notes

  • Fixed sorting of Tailwind v4 arbitrary values.

    2.4.16release notes

  • The rule now detects negated guard inequality chains such as !foo || foo.bar !== "x".

    2.4.16release notes

  • Formatting standalone interpolations in inline elements now preserves existing newlines.

    2.4.16release notes

  • Fixed lexing and parsing of aliases used as mapping keys.

    2.4.16release notes

  • Fixed panics during YAML linting.

    2.4.16release notes

  • Preserves child line breaks when an element contains another element child on its own line, instead of collapsing that child onto the same line.

    2.4.15release notes

  • Correctly parses of as text content when in text contexts.

    2.4.15release notes

  • 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.

    2.4.15release notes

  • Diagnostics are more detailed and precise, and better localize where an issue occurs.

    2.4.15release notes

  • No longer reports class properties as readonly-able when they are assigned inside arrow callbacks nested in class property initializers.

    2.4.15release notes

  • Templates with missing expressions are no longer parsed as HtmlBogusElement.

    2.4.15release notes

  • Correctly migrates ESLint rules that correspond to multiple Biome rules.

    2.4.14release notes

  • Adds support for the corner-shape family of CSS properties and the superellipse() and squircle() value functions, so unknown-property and unknown-function rules do not flag them.

    2.4.14release notes

  • Prevents compounded or unnecessary indentation in nested functional pseudo-classes and wrapped pseudo-class argument lists.

    2.4.14release notes

  • Preserves source line breaks for exclusively non-text children instead of collapsing inline elements, Svelte expressions, or comments onto one line.

    2.4.14release notes

  • The HTML parser emits one clear diagnostic when a void element has a closing tag, rather than multiple diagnostics with conflicting advice.

    2.4.14release notes

  • The parser accepts surrogate code points in JavaScript string \u{...} escapes.

    2.4.14release notes

  • The HTML formatter preserves multiline formatting for nested template elements when their children are on separate lines.

    2.4.14release notes

  • Correctly recognizes assignments in Svelte {@const} blocks as declarations rather than accidental assignments in expressions.

    2.4.14release notes

  • Treats @scope as a separate at-rule context, preventing false duplicate-selector reports across scope boundaries.

    2.4.14release notes

  • Recognizes variables declared by Vue v-for directives and references to iterated values in templates.

    2.4.14release notes

  • Recognizes variables declared by Vue v-for directives and references to iterated values in templates.

    2.4.14release notes

  • Ignores blank-line groups between never-matched groups and matched groups, preventing unintended blank lines in organized imports.

    2.4.14release notes

  • Correctly parses method calls and other parenthesized expressions used as keys in Svelte each blocks.

    2.4.14release notes

  • Resolves Svelte $store references to their underlying store bindings in semantic analysis, preventing false undeclared-variable diagnostics.

    2.4.14release notes

  • The parser no longer crashes on missing Svelte template expressions.

    2.4.14release notes

  • The migration command detects rules from @eslint/css in ESLint configurations more reliably.

    2.4.13release notesrelease notes

  • Reports the opening tag instead of the full tag for several HTML-related lint diagnostics.

    2.4.13release notes

  • Parses nested CSS rules correctly when declarations follow them inside embedded snippets.

    2.4.13release notes

  • No longer panics when parsing files containing {#}.

    2.4.13release notes

  • Correctly recognizes TypeScript in Svelte script blocks when the generics attribute contains > characters.

    2.4.13release notes

  • Parses functions declared inside Svelte #snippet blocks without throwing errors.

    2.4.13release notes

  • Added extra rule sources from react-xyz to improve detection of rules in ESLint configurations.

    2.4.12release notes

  • Biome now parses and formats @media and other conditional blocks correctly inside embedded CSS snippets.

    2.4.12release notes

  • Biome now parses nested CSS selectors correctly inside embedded snippets without requiring an explicit &.

    2.4.12release notes

  • The command is now idempotent on HTML-like files containing scripts and styles.

    2.4.12release notes

  • Type-aware lint rules now resolve members through Omit<T, K> utility types.

    2.4.12release notes

  • Type-aware lint rules now resolve members through Partial<T>, preserving optional, readonly, and nullable member flags.

    2.4.12release notes

  • Type-aware lint rules now resolve members through Pick<T, K> utility types.

    2.4.12release notes

  • Type-aware lint rules now resolve members through Readonly<T>, preserving optional, readonly, and nullable member flags.

    2.4.12release notes

  • Type-aware lint rules now resolve members through Required<T>, preserving optional, readonly, and nullable member flags.

    2.4.12release notes

  • Biome now supports parsing member expressions in Svelte directive properties, including deeply nested forms.

    2.4.12release notes

  • Biome now parses Astro attribute shorthand inside .astro files without reporting a parse error.

    2.4.11release notes

  • Astro frontmatter now correctly parses regular expression literals such as /\d{4}/.

    2.4.11release notes

  • 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.

    2.4.11release notes

  • Trailing comments after a top-level format suppression are now preserved in JavaScript, CSS, HTML, JSONC, GraphQL, and Grit files.

    2.4.11release notes

  • Grit queries using native Biome AST node names and native field names now compile successfully.

    2.4.11release notes

  • Comments after the colon in CSS property declarations are now kept after the colon instead of being moved before the property name.

    2.4.11release notes

  • The parser diagnostic for disabled Vue syntax no longer refers to the nonexistent html.parser.vue option.

    2.4.11release notes

  • Syntax errors are no longer printed twice or counted twice.

    2.4.10release notes

  • Now correctly excludes warnings and infos from output and summary counts when set to error.

    2.4.10release notes

  • No longer crashes when files mix formattable CSS-in-JS templates with tagged templates the embedded formatter cannot delegate.

    2.4.10release notes

  • Now detects env when it is imported from process and node:process.

    2.4.10release notesrelease notes

  • No longer reports false positives for TypeScript namespace declarations merged with an exported or used value declaration of the same name, in either direction.

    2.4.10release notes

  • No longer causes suppressions/unused warnings for suppression comments targeting skipped rules or domains.

    2.4.10release notes

  • Fixed parsing and formatting of nested destructuring patterns in Svelte #each blocks.

    2.4.10release notes

  • Biome handles ambient module signatures that reference local type aliases without crashing during semantic analysis.

    2.4.9release notes

  • Correctly parses object expressions inside Astro props and directives.

    2.4.9release notes

  • Parses conditional expressions whose consequent is an arrow function returning a parenthesized object expression.

    2.4.9release notes

  • Grit patterns using this form now match named re-exports in JavaScript and TypeScript files.

    2.4.9release notes

  • Preserves empty blocks containing comments, which may include TODOs or commented-out code.

    2.4.9release notes

  • The Biome Language Server no longer panics when open files change abruptly, such as during git branch checkouts.

    2.4.9release notes

  • Treats static and instance methods as separate overload groups, avoiding false positives when methods share a name.

    2.4.9release notes

  • Parses object literals in directive values such as :class, v-if, and v-html as expressions instead of JavaScript statements.

    2.4.9release notes

  • The LSP now correctly reads editor settings wrapped in a top-level biome key, so requireConfiguration and related settings are not ignored.

    2.4.9release notes

  • The LSP server no longer crashes on startup when a client omits workspaceFolders and sends only rootUri.

    2.4.9release notes

  • Regex literals containing quotes or dashes in Astro frontmatter no longer cause parse errors.

    2.4.8release notes

  • No longer falsely reports correctly formatted Svelte and Vue files as changed when html.formatter.indentScriptAndStyle is enabled.

    2.4.8release notes

  • Script tags with speculationrules and application/ld+json types are skipped because they contain non-JavaScript content.

    2.4.8release notes

  • The resolver now prioritizes more specific exports patterns over less specific ones, preventing resolution failures for overlapping subpath patterns.

    2.4.8release notes

  • Removes an extra space before > when bracketSameLine is true and the self-closing slash is absent.

    2.4.8release notes

  • The parser no longer reports --- inside element content as an unexpected value or character.

    2.4.8release notes

  • Fixes an LSP crash that could corrupt file content when saving with format-on-save enabled.

    2.4.8release notes

  • Fixes formatting for Markdown hard lines.

    2.4.8release notes

  • The rule no longer panics when it encounters constructor overloads.

    2.4.8release notes

  • Variables used as typeof types are no longer flagged as unused.

    2.4.8release notes

  • Attributes with text expressions such as class={buttonClass()} are now correctly tracked in Svelte files.

    2.4.8release notes

  • Formatting is fixed when a comment appears after => in a TypeScript arrow function.

    2.4.8release notes

  • Biome now resolves .gitignore relative to the configured VCS root instead of always looking in the workspace directory.

    2.4.8release notes

  • Detects rules in ESLint configurations more accurately using additional rule source references.

    2.4.7release notes

  • The LSP correctly resolves the project directory when this points to a configuration file outside the workspace.

    2.4.7release notes

  • Tabs render at a consistent width across context and changed lines, fixing visual misalignment in diffs for tab-indented source.

    2.4.7release notes

  • The formatter no longer crashes or produces corrupt output for JS files containing non-embedded template literals alongside embedded ones.

    2.4.7release notes

  • No longer mangles elements followed by self-closing elements such as <br> or <img>.

    2.4.7release notes

  • Correctly recognizes destructured bindings as declarations and no longer flags them as shadowing in sibling scopes; also avoids flagging parameters in TypeScript overload signatures.

    2.4.7release notes

  • No longer erroneously flags props used only in the template section of Vue SFCs.

    2.4.7release notes

  • Avoids false positives for JSX element references in Astro, Vue, and Svelte templates and for local variables shadowing a used imported type namespace.

    2.4.7release notes

  • No longer reports a false positive when a local variable shadows an imported type namespace that is still used in a type annotation.

    2.4.7release notes

  • Improves variable detection in Astro files so this rule and others trigger fewer false positives.

    2.4.7release notes

  • The type inference engine resolves Record types as object types with index signatures, improving accuracy for type-aware lint rules.

    2.4.7release notes

  • Temporal is now correctly detected as a global.

    2.4.7release notes

  • CSS parser recovery produces clearer diagnostics for invalid unicode-range values mixing wildcard ranges with range intervals.

    2.4.7release notes

  • Correctly handles Vue dynamic :alt and v-bind:alt bindings, preventing false positives in Vue files.

    2.4.7release notes

  • Biome no longer panics when this rule is configured using an object.

    2.4.7release notes

  • Avoids false positives for values referenced as JSX elements in Astro, Vue, and Svelte templates.

    2.4.7release notes

  • No longer suggests <output> for status and alert roles or reports diagnostics when semantic elements already have their corresponding role attribute.

    2.4.7release notes

  • Biome parses Tailwind utility names containing / when Tailwind directives are enabled.

    2.4.7release notes

  • The Biome language server correctly resolves the editor setting when its value is a relative path.

    2.4.6release notes

  • Formatting a case clause with a trailing line comment followed by a single block statement no longer produces different output on subsequent runs.

    2.4.6release notes

  • Lowercase component member expressions such as <form.Field> in Svelte and Astro files are now correctly formatted.

    2.4.6release notes

  • No longer reports code inside finally blocks as unreachable when the corresponding try body contains a break, continue, or return.

    2.4.6release notes

  • The code fix now moves comments along with the attributes.

    2.4.6release notes

  • Disables colors in GitHub Actions so workflow error and warning commands are not wrapped in ANSI escape codes.

    2.4.5release notes

  • Improves detection of rules in ESLint configurations.

    2.4.5release notes

  • Adds parsing support for scroll-state container queries and their associated query syntax.

    2.4.5release notes

  • The CSS formatter no longer inserts an unwanted space between scroll-state and its opening parenthesis.

    2.4.5release notes

  • Removes false-positive diagnostics for valid general-enclosed queries.

    2.4.5release notes

  • No longer incorrectly breaks ratio values across lines when they are followed by comments.

    2.4.5release notes

  • Preserves line breaks between comments and selectors in BOM-prefixed CSS files.

    2.4.5release notes

  • Escapes quotes, backslashes and control characters in diagnostic messages and advice so output remains valid JSON.

    2.4.5release notes

  • Includes the command duration in JSON reporter output.

    2.4.5release notes

  • Correctly detects test framework calls with three arguments, including an options argument, fixing formatting and linting for frameworks such as Vitest.

    2.4.5release notes

  • Stops incorrectly flagging functions and variables defined in Vue <script setup>, including bindings used in templates.

    2.4.5release notes

  • Resolves Node.js node: built-ins, packages using typings, aliased re-export chains and namespace re-exports without false positives.

    2.4.5release notes

  • No longer flags keys under watch, eliminating false positives.

    2.4.5release notes

  • Prevents panics when nursery rules are configured with a level but without corresponding options.

    2.4.5release notes

  • JSON reporter output is now written to the specified file instead of always going to stdout.

    2.4.5release notes

  • The HTML parser accepts JavaScript-style comments inside tags in Svelte files.

    2.4.5release notes

  • Recognizes assert, expectTypeOf and assertType as valid assertions, preventing false positives from useExpect and similar lint rules.

    2.4.5release notes

  • Improves type inference for re-exported functions and values, enabling affected rules to detect issues with re-exported imports.

    2.4.5release notes

  • Diagnostics now name the variable that should be added to the dependency array.

    2.4.5release notes

  • Astro files containing --- in HTML content are now parsed correctly, whether or not a frontmatter block is present.

    2.4.4release notes

  • The HTML parser now correctly parses bracket characters in text content.

    2.4.4release notes

  • The rule no longer flags assignments in Vue v-on directives, allowing idiomatic assignments in event handlers.

    2.4.4release notes

  • The parser treats use and style as plain text when they appear as text content in HTML or Svelte files.

    2.4.4release notes

  • The Vue parser handles colon attributes such as xlink:href and xmlns:xlink as single attributes.

    2.4.4release notes

  • The HTML parser now correctly parses Astro directives, fixing their formatting.

    2.4.3release notes

  • The frontmatter lexer correctly identifies the closing fence when comments or strings contain quote characters.

    2.4.3release notes

  • The CSS parser now correctly parses not + scroll-state inside @container queries.

    2.4.3release notes

  • The GitHub reporter is now correctly enabled when biome ci runs on GitHub Actions.

    2.4.3release notes

  • The Test domain now includes Mocha BDD and TDD globals that were previously flagged as undeclared variables.

    2.4.3release notes

  • The rule no longer reports closedby as an unknown attribute on dialog elements.

    2.4.3release notes

  • No longer reports a top-level Props interface or type alias as unused in Astro files.

    2.4.2release notes

  • No longer incorrectly flags imports used in Svelte control flow blocks as type-only imports.

    2.4.2release notes

  • No longer reports false positives for known pseudo elements in CSS modules.

    2.4.1release notes

  • Reverts changes that caused unwanted changes to how paths are resolved.

    2.4.1release notes

  • Fixes incorrect processing of SCSS files, a regression from work to support SCSS out of the box.

    2.4.1release notes

  • Fixes a regression where Biome printed nothing in stdin mode.

    2.4.1release notes

  • The Biome language server now correctly handles the configurationPath setting supplied by the editor extension.

    2.4.0release notes

  • With full support enabled, useConst, noUnusedImports, useImportTypes, and noUnusedVariables work better in Vue, Svelte, and Astro files, reducing false positives.

    2.4.0release notes

  • Biome respects jsxFactory from tsconfig.json with the classic JSX runtime, preventing false-positive noUnusedImports errors for custom JSX libraries.

    2.4.0release notes

  • Biome respects jsxFragmentFactory from tsconfig.json with the classic JSX runtime, preventing false-positive noUnusedImports errors for custom JSX libraries.

    2.4.0release notes

  • The rule no longer recursively traverses title elements.

    2.4.0release notes

  • In Svelte files, variables defined in JavaScript blocks and used inside templates are now detected correctly.

    2.4.0release notes

  • Correctly handles toRefs(props) patterns and avoids false positives when destructuring props, particularly in <script setup> blocks.

    2.4.0release notes

  • 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.

    2.4.0release notes

  • Adds proper parsing and formatting for Svelte directives when html.experimentalFullSupportEnabled is true.

    2.4.0release notes

  • Adds proper parsing for spread attributes such as {...props} in Svelte and Astro files.

    2.4.0release notes

  • Biome now accepts Vue's v-bind() function in CSS when Vue CSS modules parsing is enabled.

    2.4.0release notes

  • 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.

    2.3.15release notes

  • Text expressions at the top level of an HTML document no longer cause panics.

    2.3.15release notes

  • No longer reports a false positive when an assignment is used as the expression body of an arrow function.

    2.3.15release notes

  • With javascript.jsxRuntime set to reactClassic, allows importing the React identifier from a package other than react.

    2.3.15release notes

  • 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.

    2.3.15release notes

  • No longer reports async generator functions that use yield*, because delegation requires the async modifier.

    2.3.15release notes

  • No longer reports false positives for await on call expressions whose return type cannot be resolved.

    2.3.15release notes

  • Restores reporting the full member expression as a missing dependency for method calls on objects, rather than reporting only the object.

    2.3.15release notes

  • No longer reports false positives for variables destructured from a rest pattern.

    2.3.15release notes

  • Correctly detects JSX component identifiers as hook dependencies.

    2.3.15release notes

  • Does not run inside Map constructors.

    2.3.15release notes

  • Improves CSS if() function parsing recovery.

    2.3.14release notes

  • Improves parsing recovery when encountering qualified rules inside CSS @page at-rule blocks.

    2.3.14release notes

  • No longer crashes on a < character followed by a digit in text; it emits an Unescaped < bracket character error instead.

    2.3.14release notes

  • Recognizes the CSS sibling-count and sibling-index functions.

    2.3.14release notes

  • No longer triggers for optional fallback patterns.

    2.3.14release notes

  • Indents comments after the equals sign in type aliases whose generic parameters have extends constraints.

    2.3.14release notes

  • Preserves quotes when a type member is named new.

    2.3.14release notes

  • 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.

    2.3.14release notes

  • The summary reporter no longer incorrectly merges rules or displays incorrect issue counts.

    2.3.13release notes

  • The rule now allows modifiers for all possible keyboard events and performs better when there are no violations.

    2.3.13release notes

  • Tailwind functional utility names like px-* now parse when Tailwind directives are enabled.

    2.3.13release notes

  • Biome now parses Vue dynamic slot shorthand arguments that use template literals in brackets.

    2.3.13release notes

  • Biome now parses Astro files with empty frontmatter blocks.

    2.3.12release notes

  • Arrow-function GritQL queries with a parameters metavariable are now handled without throwing an error.

    2.3.12release notes

  • Recovers slightly better when a semicolon is missing from Tailwind's @apply at-rule.

    2.3.12release notes

  • Can now parse directive modifiers with a single colon, such as @keydown.:.

    2.3.12release notes

  • Reduces false positives on common CamelCase identifiers by using average run length in entropy calculations.

    2.3.12release notes

  • Ignores type parameters declared in ambient contexts such as declare module blocks.

    2.3.12release notes

  • No longer reports exported variables initialized to undefined, a pattern used to declare optional component props in Svelte 4.

    2.3.12release notes

  • Fixes Vue conditional-rule handling related to whitespace, newlines, and self-closing tags.

    2.3.12release notes

  • Components in Vue, Svelte, and Astro files are now parsed correctly when their names match self-closing elements.

    2.3.12release notes

  • The CSS parser now accepts multiple comma-separated parameters in this pseudo-class.

    2.3.11release notes

  • Preserves whitespace after some elements and embedded expressions, more closely aligning with Prettier's behavior.

    2.3.11release notes

  • Adds a space before /> in self-closing elements, bringing formatting more in line with Prettier.

    2.3.11release notes

  • Fixes parse errors caused by certain keywords inside HTML tag text.

    2.3.11release notes

  • Removes the next/script component name check because it is a default export.

    2.3.11release notes

  • Resolves false-positive errors for safe boolean expressions in variable declarations, while some fixes remain pending.

    2.3.11release notes

  • Handles repeated object property access and assignments without exceeding the internal type limit.

    2.3.11release notes

  • The rule now properly handles aliased destructured object keys when using stableResult configuration.

    2.3.11release notes

  • The command now correctly detects react/jsx-no-leaked-render in ESLint configurations.

    2.3.10release notes

  • Fixed a regression in how the rule flags extra non-null assertions.

    2.3.10release notes

  • Fixed the nursery rule.

    2.3.10release notes

  • The rule no longer reports redeclarations for infer types in conditional types.

    2.3.10release notes

  • Fixed handling of characters that contain multiple code points when running in stdin mode.

    2.3.10release notes

  • The semantic model now indexes TypeScript constructor method definitions and no longer panics when one is used.

    2.3.10release notes

  • The parser now allows return statements in Astro frontmatter.

    2.3.9release notes

  • The parser now allows async as a class member name.

    2.3.9release notes

  • GritQL patterns can now handle name, type_arguments, and attributes slots for JsxOpeningElement and JsxSelfClosingElement without errors.

    2.3.9release notes

  • 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.

    2.3.9release notes

  • The CLI now resolves configurations from parent paths.

    2.3.9release notes

  • Tracks constructor parameter properties, improving analysis that depends on this information.

    2.3.9release notes

  • With Tailwind directives enabled, the parser no longer errors on values such as prefix(tw) in @import at-rules.

    2.3.9release notes

  • Return statements in Astro frontmatter no longer trigger Illegal return statement errors when this option is enabled.

    2.3.9release notes

  • Reloads files from disk on save to prevent stale diagnostics.

    2.3.9release notes

  • Plugins defined in child configurations with extends: "//" now work correctly.

    2.3.9release notes

  • The CSS parser skips Tailwind syntax in @import.

    2.3.9release notes

  • The affected rule now ignores attributes and shows diagnostics only for JSX expressions, preventing false positives.

    2.3.9release notes

  • The rule detects when extended configurations already include the catch-all ** in files.includes and suggests removing it from user configuration.

    2.3.9release notes

  • Improves the rule's handling of exceptions.

    2.3.9release notes

  • Avoids false positives on identifiers that are not hooks.

    2.3.9release notes

  • The rule now allows separate non-null assertions on opposite sides of an assignment while continuing to flag nested assertions.

    2.3.9release notes

  • Tracking TypeScript constructor parameter property types resolves certain false negatives in this and other typed rules.

    2.3.9release notes

  • Fixes false-positive errors reported by the rule.

    2.3.9release notes

  • No longer flags separate non-null assertions on assignment sides.

    2.3.9release notes

  • Fixes the spelling of prefers-reduced-transparency in the rule.

    2.3.9release notes

  • The rule no longer flags anything in @plugin when the tailwindDirectives parser option is enabled.

    2.3.9release notes

  • Does not flag properties inside @plugin.

    2.3.9release notes

  • The check is now ignored when the root selector is used under View Transition pseudo-elements.

    2.3.9release notes

  • Allows root when it appears under ViewTransitions pseudo-elements.

    2.3.9release notes

  • Detects JSDoc tags on object properties when checking for unused imports.

    2.3.9release notes

  • Allows () => undefined without reporting it as useless.

    2.3.9release notes

  • Formatter, linter, and assist settings now inherit global configuration when they are not explicitly specified in an override.

    2.3.9release notes

  • Overrides now inherit the enabled state from the global configuration.

    2.3.9release notes

  • Relative plugin paths are now resolved from the configuration file directory, including when configurations are merged.

    2.3.9release notesrelease notes

  • Fixes HTML formatter behavior for style tags with a lang attribute.

    2.3.9release notes

  • Biome now updates documents when it receives this notification.

    2.3.9release notes

  • Tracks scope for TypeScript construct signature type parameters.

    2.3.9release notes

  • Fixes multiline autofixes produced by the rule.

    2.3.9release notes

  • No longer suggests invalid JSX text conversions.

    2.3.9release notes

  • Removes spurious errors on dependency-first custom hooks.

    2.3.9release notes

  • The rule now ignores a CSS variable used as the last value in font-family or font declarations.

    2.3.9release notes

  • Emits diagnostics for invalid Vue shorthand syntaxes.

    2.3.9release notes

  • The migration command should better detect rules in ESLint configurations.

    2.3.8release notes

  • Commands now apply the configuration file selected by --config-path when multiple root configuration files exist.

    2.3.8release notes

  • GritQL queries now properly handle name and value metavariables for JsxAttribute.

    2.3.8release notes

  • Logs, including those produced at info level, are no longer discarded.

    2.3.8release notes

  • 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.

    2.3.8release notes

  • Corrects false positives and false negatives when handling large hex literals.

    2.3.8release notes

  • The HTML parser can now parse Vue v-slot shorthand syntax when Vue directives are enabled.

    2.3.8release notes

  • The HTML parser now correctly parses Vue event handlers containing a colon.

    2.3.8release notes

  • Range suppressions now handle suppressed categories properly.

    2.3.7release notes

  • CSS formatting now uses the correct casing for Q, Hz, and kHz dimension units.

    2.3.7release notes

  • The auto-fix action now places await after a leading comment.

    2.3.7release notes

  • The rule now ignores script tags with type="module" because these are always non-blocking.

    2.3.7release notes

  • The rule no longer triggers for variables mutated inside a module; it is now marked as inspired.

    2.3.7release notes

  • The inference engine now resolves types for variables assigned multiple values.

    2.3.7release notes

  • When parsing Vue, now handles directives without arguments, modifiers, or initializers without treating subsequent valid attributes as bogus.

    2.3.6release notes

  • 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.

    2.3.6release notes

  • Detects recursion by comparing function bindings rather than names, avoiding false positives when a same-named method calls an outer function.

    2.3.6release notes

  • The code fix with checkAllProperties enabled no longer inserts a newline between readonly and the class property.

    2.3.6release notes

  • The HTML parser now handles Vue directives with dynamic arguments as dynamic rather than static arguments.

    2.3.6release notes

  • Fixed an issue with support for advanced SVG props.

    2.3.5release notes

  • Biome keeps a blank line after the frontmatter section in Astro files.

    2.3.5release notes

  • The command should better detect rules in ESLint configurations after correcting a rule source reference.

    2.3.5release notesrelease notes

  • With tailwindDirectives enabled, the CSS parser accepts selector lists and at-rules such as @media and @supports in @custom-variant shorthand syntax.

    2.3.5release notes

  • The GitLab reporter now outputs format errors.

    2.3.5release notes

  • 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.

    2.3.5release notes

  • Fixed parsing of Tailwind class names including inset-x and border-slate-500.

    2.3.5release notes

  • The rule no longer diagnoses or offers to fix functions that reference the arguments object, which is undefined for arrow functions.

    2.3.5release notes

  • Comments inside quoted strings are no longer treated as actual comments, preventing premature termination of Astro frontmatter parsing.

    2.3.4release notes

  • When enabled, Biome correctly detects and parses lang='tsx' and lang='jsx' languages inside .vue files.

    2.3.4release notes

  • Rule options are merged with inherited options from a shared configuration, so overriding one option no longer resets the others to their defaults.

    2.3.4release notes

  • With tailwindDirectives enabled, the CSS parser now parses @source inline("underline");.

    2.3.4release notes

  • Fixes lexing for Tailwind variants that start with numbers.

    2.3.4release notes

  • The parser correctly parses Astro frontmatter even when a triple fence is inside quotes.

    2.3.3release notes

  • Biome preserves component tag name casing in Svelte, Astro, and Vue files.

    2.3.3release notes

  • The Biome Language Server no longer returns an internal error when the formatter is disabled in the configuration.

    2.3.3release notes

  • The HTML parser handles Unicode BOM characters at the beginning of files for proper parsing and tokenization.

    2.3.3release notes

  • Backquotes are escaped in an MDX context.

    2.3.3release notes

  • The CSS parser correctly handles @slot when tailwindDirectives is enabled.

    2.3.3release notes

  • Properly matches a Grit plugin code snippet with only one child.

    2.3.2release notes

  • Biome parses <script> tags as TypeScript when analysing .astro files.

    2.3.1release notes

  • The ci command now recognizes the new CSS parsing arguments.

    2.3.1release notes

  • The CSS parser correctly parses --*: initial; when tailwindDirectives is enabled.

    2.3.1release notes

  • The disabled text expressions error message now refers to the correct HTML parser option.

    2.3.1release notes

  • The CSS parser accepts @plugin options when tailwindDirectives is enabled.

    2.3.1release notes

  • The CSS parser correctly parses Tailwind source exclude syntax when tailwindDirectives is enabled.

    2.3.1release notes

  • The HTML parser now accepts Svelte attribute shorthand syntax in .svelte files.

    2.3.1release notes

  • Workspace folder changes now apply incrementally instead of replacing the entire folder list.

    2.3.1release notes

  • files.maxSize now uses the nearest configuration instead of always reading the root settings.

    2.3.0release notes

  • The LSP server now loads extension settings before the configuration file when opening a text document.

    2.3.0release notes

  • The rule no longer panics on a single-dollar-sign name that does not match a custom convention.

    2.3.0release notes

  • The CSS parser now lets @utility parse declarations and rules.

    2.3.0release notes

  • Biome now detects infinite loops caused by conflicting rule fixes.

    2.2.7release notes

  • Improved the rule's diagnostic message.

    2.2.7release notes

  • The rule now keeps leading trivia when applying its fix.

    2.2.7release notes

  • Fixed the duplicated --bracket-spacing flag between global configuration and the JavaScript language-specific override.

    2.0.0release notes

  • Fixed the environment variable so it is correctly picked up.

    2.0.0release notes

  • Fixed loading configurations passed through --config-path when the path begins with ./.

    2.0.0release notes

  • The explain command now displays the diagnostic category when explaining a rule.

    2.0.0release notes

  • The command now skips files with syntax errors and continues formatting valid files; skipped errors are reported as information.

    2.0.0release notes

  • Passing --max-diagnostics=0 now returns a nonzero exit code when errors are emitted.

    2.0.0release notes

  • Now respects Biome's configuration file during migration.

    2.0.0release notes

  • Now skips files that do not match the pattern's target language.

    2.0.0release notes

  • The flag now prints paths relative to the working directory.

    2.0.0release notes

  • The option now works as expected when a comment precedes the last JSX attribute.

    2.0.0release notes

  • The LSP no longer identifies .cjs files as ESM files, preventing incorrect diagnostics for rules such as noRedundantUseStrict.

    2.0.0release notes

  • Improved error handling for the container at-rule.

    2.0.0release notes

  • Fixed selector whitespace and indentation around comments, improved number formatting, and made compound selector formatting more consistent.

    2.0.0release notes

  • Fixed CSS lint handling of :global when CSS modules are enabled.

    2.0.0release notes

  • Ignored files are no longer incorrectly tracked.

    2.0.0release notes

  • Biome now correctly parses .editorconfig files with character classes in glob patterns.

    2.0.0release notes

  • Fixed import merging that could emit broken code when organizing imports.

    2.0.0release notes

  • EditorConfig now accepts indent_size = tab without an error.

    2.0.0release notes

  • EditorConfig files can now use insert_final_newline = unset without a parsing error.

    2.0.0release notes

  • Fixed a parsing error when a JSX element name is a JsxMemberExpression preceded by a JsLogicalExpreesion without a semicolon.

    2.0.0release notes

  • The LSP server now returns correct text edits for rangeFormatting and onTypeFormatting requests.

    2.0.0release notes

  • Fixed handling of .mjs extensions in Node.js packages whose package.json declares type: commonjs.

    2.0.0release notes

  • The rule now reports calls to Object.assign.

    2.0.0release notes

  • No longer panics on an unterminated Unicode escape sequence.

    2.0.0release notes

  • Fixed lint errors involving @supports and prevented the rule from triggering on properties inside @keyframes.

    2.0.0release notes

  • The rule no longer panics on some incomplete code snippets.

    2.0.0release notes

  • Now detects focused tests inside loops.

    2.0.0release notes

  • Fixed false positives for container-name.

    2.0.0release notes

  • The rule now accounts for :global when cssModules is enabled.

    2.0.0release notes

  • No longer reports pseudo classes following a WebKit scrollbar pseudo element.

    2.0.0release notes

  • The rule now correctly checks names of pseudo-element functions.

    2.0.0release notes

  • No longer reports the \${ escape in template literals.

    2.0.0release notes

  • The rule now detects fragments inside JSX elements and conditional expressions, and its fix no longer removes more than the fragment.

    2.0.0release notes

  • Now handles JsxAttributeInitializerClause, preserving fragments inside expressions such as <A b=<></> />.

    2.0.0release notes

  • Setter parameters containing a trailing comma are now parsed correctly.

    2.0.0release notes

  • The fix no longer breaks function bodies that start with {.

    2.0.0release notes

  • Preserves directives when converting a function expression to an arrow function.

    2.0.0release notes

  • Preserves curly braces when forbidden characters >, ", ', or } are detected.

    2.0.0release notes

  • No longer reports an identifier bound by both a variable and a type.

    2.0.0release notes

  • 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.

    2.0.0release notes

  • The rule no longer suggests renaming top-level variables in global declaration files and accepts character escapes at the start of a regex group.

    2.0.0release notes

  • Correctly handles useless escaped characters in string literals and suggests a valid fix when a pattern contains an escaped slash.

    2.0.0release notes

  • The rule's code fix is now marked safe and its error message was improved.

    2.0.0release notes

  • No longer recommends role="searchbox" instead of role="search".

    2.0.0release notes

  • The CSS lint rule now skips unknown properties.

    2.0.0release notes

  • Some files in the .vscode directory are no longer incorrectly parsed as JSON.

    2.0.0release notes