Changelog

biomejs/biome · · 13 commits

New lint rules and parser upgrades land

Biome adds two nursery lint rules, improves type inference-aware linting, and expands YAML/Markdown parsing behavior.

Add noBaseToString for unsafe stringification (dyc383f7385)

Biome now flags stringification sites that would fall back to Object’s default "[object Object]" output, with an ignoredTypeNames option for exemptions. The migration and schema wiring were updated too, so ESLint config conversion and workspace support can recognize the new rule.

Add Vue noVueVOnNumberValues (dyc364aee45)

A new nursery rule disallows deprecated numeric modifiers on Vue v-on directives, such as @keyup.13. This extends the HTML analyzer and config/migration plumbing so the rule is available in linting and in ESLint-to-Biome migration.

Type-aware linting now respects as const object properties (minseong032456798a7)

Several existing TypeScript rules were made smarter about object-literal properties initialized with as const, reducing false negatives in noMisleadingReturnType, noUselessTypeConversion, useExhaustiveSwitchCases, and useStringStartsEndsWith. Under the hood, the type-info and instance-shape logic also changed, which broadens how Biome infers and compares these values.

YAML lexer now handles properties and block tags/anchors (l0ngvh09401d3)

The YAML parser gained support for lexing property prefixes like tags and anchors, plus better disambiguation between explicit mapping keys, plain scalars, and block mappings. This is a substantial parser expansion that should unlock correct parsing for more real-world YAML documents.

Markdown fenced-code diagnostics are stricter (jfmcdowellcc0f1bd)

Backtick fences with backticks in the info string now produce a parse error instead of being treated as valid code blocks. That tightens Markdown parsing around an ambiguous edge case and updates the formatter snapshots accordingly.

Other misc changes

  • Rust 1.95.0 bump and related compatibility edits
  • Dependency updates: rust docker tag, indexmap, insta, tombi, pnpm, GitHub Actions
  • fmt/clippy and small internal refactors