Changelog

biomejs/biome · · 18 commits

Big lint-and-fix wave for Vue, tests, and HTML

Added several new nursery lint rules, fixed Vue/HTML formatter edge cases, and improved lint/perf behavior across analysis and rule migration.

New Vue and test lint rules broaden coverage (dyc3746c421, dyc34d81f0d, dyc33fdc987, dyc3c1c8c85, dyc3be58f67, dyc3a68137d, dyc3058d7a1, dyc3cf5b1a6, dyc3acfeaf9, dyc36aad75f, dyc3d4e90c8)

Multiple new nursery rules landed for Vue, tests, Node APIs, and YAML, including checks for async computed properties, invalid exports in <script setup>, unsafe namespace imports, top-level require(), deprecated Buffer() constructors, spy-on usage, and several Jest/Vitest expectation patterns. These additions expand Biome's coverage in areas that commonly hide bugs or portability issues, and they also wire the new rules into configs, diagnostics, and ESLint migration support.

HTML/Svelte formatter fixes comment placement (dyc3e1556ae, dyc34cea5c6)

The HTML formatter now preserves comments that appear after opening tags and block delimiters, including Svelte-specific cases. This avoids reformatting output that could move or detach comments from the markup they annotate.

Analysis and lint performance improved (dyc368e6887, dyc3e506ff1)

Analysis now skips the suppression-token pass in files that don't contain suppression comments, reducing unnecessary work during linting. Separately, noRedeclare was optimized to find binding nodes closer to the query node, which should make that rule cheaper on large scopes.

Tailwind class location fix for unquoted object keys (dyc3e3ab04d)

Tailwind-related class detection now handles unquoted object keys correctly, so class ranges are identified more accurately in those structures. That improves the reliability of Tailwind diagnostics and fixes.

Other misc changes

  • Renovate config updated to ignore js-sys (dyc3998797e)