biomejs
biome
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
chore: update rule metadata
dyc3/update-unsupported-rules-3-rules-thr_m9vt8n75ck
4 minutes ago
refactor(formatter): replace AllLines and allow_overflow with skip_fits_check The fits test now skips content marked with skip_fits_check: lines inside it never fail the test and line breaks inside it don't end it. Fill entry tests ignore it. This replaces BestFittingMode::AllLines and allow_overflow, so best fitting no longer has a mode. Also rewrites the comments added by this change.
ff1451:fix/js-member-chain-idempotency
5 minutes ago
fix(yaml_formatter): keep comments between flow mapping keys and values in place A comment on a line of its own between the key and the value of a flow mapping entry was pulled onto the line of the `:`, where it attached to the key when reformatted, so the output changed on every pass. The comments are now attached and printed with Prettier's IR: those before the `:` are printed on their own lines in the explicit form, and those after the `:` are printed on their own lines above the value, which starts below the key in a conditional group that doesn't expand the enclosing collection. Blank lines between the comments before the `:` are kept. An explicit single pair with a value in a flow sequence drops its `?`, as in Prettier, since `[? key : value]` and `[key: value]` are the same pair. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dyc3/fix-yaml-flow-value-comments
15 minutes ago
fix(yaml_formatter): keep comments after directives in place A comment after a directive that wasn't the last one was moved above the first directive. The comments in a document's directives are now attached as in Prettier: one on the line of a directive trails it, one on a line of its own leads the next directive, and those after the last directive are printed between the directives and the `---` marker. The blank lines in the directives follow Prettier's IR: the directives are grouped, and a blank line before the `---` marker is only kept when that group breaks, unless the last directive is the last node of the file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dyc3/fix-yaml-directive-comments
15 minutes ago
fix(yaml_parser): exclude trailing blanks from plain scalar tokens A plain scalar's token included the blanks and line breaks before the character that ended it, so the formatter treated keys such as `? foo` followed by `: 1` on the next line as multiline keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dyc3/fix-yaml-plain-scalar-trailing-blanks
16 minutes ago
fix(yaml_formatter): keep comments after flow mapping keys on the key's line A comment following the key of a flow mapping entry moved after the value, and an explicit entry with such a comment was reformatted with the comment on its own line. Such an entry is now formatted like an entry with a flow collection key, with Prettier's IR: a conditional group holding the key in a group of its own, followed by the explicit or the implicit form depending on whether the key group breaks. The comment breaks the key group, so the entry takes the explicit form with the comment on the key's line, and the conditional group keeps the line breaks from expanding the enclosing flow collection. Explicit entries with a flow collection key are formatted the same way, since Prettier doesn't distinguish them from implicit ones. Adds `conditional_group` to biome_formatter, the equivalent of Prettier's `conditionalGroup` with a single state: a group that is a boundary for the expansion of its content. Enables the Prettier fixture flow-mapping/comments/key.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dyc3/fix-yaml-flow-key-trailing-comment
17 minutes ago
fix: update snapshots
fix/even-more-lint-diagnostics-pillars
21 minutes ago
fix: update snapshots
fix/even-more-lint-diagnostics-pillars
31 minutes ago
Latest Branches
CodSpeed Performance Gauge
-6%
fix(yaml_formatter): keep comments between flow mapping keys and values in place
#12367
14 hours ago
95d7f05
dyc3/fix-yaml-flow-value-comments
CodSpeed Performance Gauge
-6%
fix(yaml_formatter): keep comments after directives in place
#12368
13 hours ago
30198ad
dyc3/fix-yaml-directive-comments
CodSpeed Performance Gauge
-6%
fix(yaml_parser): exclude trailing blanks from plain scalar tokens
#12365
16 hours ago
5c6cb15
dyc3/fix-yaml-plain-scalar-trailing-blanks
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs