Changelog

biomejs/biome · · 3 commits

Tailwind rule lands; CSS/YAML fixes

Biome adds a new Tailwind arbitrary-value lint rule and fixes crashes plus YAML/CSS parsing edge cases.

New Tailwind arbitrary-value lint rule (THEjacob1000e007143)

Biome adds noTailwindArbitraryValue, a nursery rule that flags Tailwind CSS arbitrary values like w-[400px]. It applies across HTML/JSX class attributes, supported utility functions, and tagged templates, and also wires the rule into config, diagnostics, and ESLint migration support.

CSS analysis no longer crashes on incomplete property values (denbezrukovdd9158a)

Biome now handles incomplete CSS declarations during editing without panicking, fixing a crash in semantic analysis for partially typed property values. This is an important stability fix for live editor workflows where code is frequently invalid mid-edit.

YAML formatter/parser better attaches properties across lines (dyc3f399d3a)

The YAML parser and formatter were updated to correctly associate properties that span lines in block mappings, improving handling of anchors, tags, and comments in tricky multiline cases. This reduces formatting mismatches and parse errors on real-world YAML inputs.

Other misc changes

  • Rule metadata/migration plumbing for the new Tailwind rule
  • YAML snapshot churn and test updates
  • Small AST pointer behavior refactor and roundtrip test