Changelog

biomejs/biome · · 18 commits

Big Vue lint rollout and parser fixes

Biome added several new lint rules, fixed Vue suppression and semantic gaps, improved formatting, and sped up module/type inference and package license checks.

New YAML empty-map-value lint (dyc397aa183)

Biome added noYamlEmptyMapValues, a new nursery rule that flags YAML keys with no value. The rule is wired into config/schema generation and ships with fixtures, so it’s ready for user-facing use.

New Vue lint for consistent v-on handler style (dyc3ae251e4)

A new nursery rule, useVueConsistentVOnHandlerStyle, enforces a single event-handler style in Vue v-on directives. It also adds ESLint migration support and full config/schema integration, making the rule discoverable and migratable out of the box.

Plugin suppressions now work end-to-end (dyc3d5da394)

biome lint --suppress now generates suppression comments for plugin diagnostics, not just built-in rules. The same change also tightens plugin-name validation so unsuppressible names are rejected up front, avoiding broken suppression workflows.

Vue semantic model refactor fixes and expands rule coverage (dyc361924f6)

Old Vue rules were moved onto the new Vue semantic model, which is a substantial internal refactor with visible correctness gains. Along the way, several rules picked up better coverage for setup() returns and defineComponent() patterns, and some false positives/negatives around Vue emits and shadowed $emit() calls were corrected.

HTML formatter keeps inline text together more often (dyc3ae66383)

The HTML formatter now preserves words after inline elements on the same line in more cases. This should reduce awkward wrapping in HTML/Svelte output and make formatted text read more naturally.

Vue lint now recognizes MathML as native elements (dyc3be372b5)

Biome fixed Vue rules that were treating MathML tags like components. Known MathML elements, plus some hyphenated SVG/MathML names, are now handled as native elements, reducing false positives in Vue, Svelte, and Astro files.

Tailwind class-string queries got faster (dyc3dcb1eab)

The Tailwind syntax query now implements visited_kinds(), simplifying the query path. This is a performance-oriented cleanup that should make class-string analysis more efficient.

License lookup became sublinear (dyc3fa4c3c2)

Biome’s SPDX license checks now use direct license metadata lookups instead of repeated linear scans. That makes package license validation significantly faster, especially as the generated license list grows.

Module/type inference queries were reworked for performance and profiling (ematipico3f25900)

Type-inference and module-graph queries were wrapped in the shared query profiler/execution path, and several inference internals were reorganized. This is a meaningful performance and observability pass over one of Biome’s more expensive analysis subsystems.

useMathMinMax handles bigint cases more accurately (dyc38908627)

The useMathMinMax rule now traces bindings further to determine whether arguments are bigints. That improves correctness for bigint-heavy code by avoiding incorrect suggestions when Math.min/Math.max semantics differ.

Other misc changes

  • New nursery Vue rule: noVueDeprecatedFilter (dyc367bc9d5)
  • New nursery Vue rule: noDrizzleDbObjectInsideTransaction (machadinhosa54965d)
  • useArrowFunction fix for in bodies in for initializers (dyc3a788cac)
  • noDistractingElements unsafe-fix behavior corrected (dyc31b350ed)
  • Rust toolchain bumped to 1.100 with release-age config changes (dyc3ece0ec5)
  • Rule metadata updated; small docs/typo fixes (dyc384b1ada, ninglinLiufb747a0)