Changelog

biomejs/biome · · 7 commits

Biome lands CSS, Markdown, and Svelte fixes

Major parser and formatter improvements across CSS Modules, Markdown lists/quotes, and Svelte-aware HTML linting.

CSS Modules composes now accepts comma-separated values (xsourabhsharma6e8557b)

Biome’s CSS parser/formatter now handles composes: classA from "./a.css", classB from "./b.css"; instead of rejecting or misformatting it. This closes a real CSS Modules parsing gap and updates the syntax model so downstream tooling sees a proper separated list.

Markdown list formatting is overhauled to match Prettier more closely (ematipicoac4944f)

The Markdown formatter got a substantial rewrite focused on bullet/ordered list behavior, continuation indents, and quote/list edge cases. This is the kind of change that affects day-to-day output quality across a core formatter.

Markdown parser fixes block quotes with link-reference definitions (jfmcdowellfe03ff9)

A block quote now resets link-reference-definition continuation state so quoted content like > 2. q is parsed correctly after a definition. That fixes a subtle CommonMark interruption bug that could demote valid lists to paragraphs.

Svelte interpolations are now understood inside quoted HTML attributes (Mokto263c7cc)

HTML linting and formatting were updated to recognize Svelte template chunks inside quoted attribute values, reducing false positives in noRedundantAlt, useButtonType, and noScriptUrl. This matters for Svelte users because dynamic quoted attributes are now treated more like real values instead of static text.

noProcessEnv now catches imported env usage (ShaharAviram184b43c5)

The JS lint rule was expanded beyond process.env member access to also flag env when imported or destructured from process/node:process. That closes a common bypass path and makes the rule materially more effective.

Other misc changes

  • Markdown syntax cleanup: removed dead syntax kinds and bogus-node handling (jfmcdowell8ac6e4a)
  • Configuration schema docs: avoided Markdown links in JSON schema descriptions (mvanhorn311c2b2)