Changelog

biomejs/biome · · 2 commits

SCSS nested props parsing, promise lint fix

Biome now parses interpolated SCSS nested properties and fixes a stack overflow in noMisusedPromises on shadowed destructuring.

Parse interpolated SCSS nested properties (denbezrukovce70f76)

Biome’s CSS parser and factory now accept interpolated names for SCSS nesting declarations, expanding the grammar beyond plain identifiers. This unlocks proper parsing and formatting for nested custom properties like --#{$name}: { ... } and aligns snapshots and generated syntax nodes with the new AST shape.

Fix noMisusedPromises scope handling in return statements (ematipico001f94f)

A local inference bug could pass the wrong scope for return statements, which in turn caused noMisusedPromises to stack overflow on nested functions with shadowed destructured variables. The patch hardens scope resolution and adds a regression test for the shadowed-destructuring case.

Other misc changes

  • Changeset for the noMisusedPromises fix
  • Test harness update in quick_test.rs