Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

fix(linter): don't remove empty blocks containing comments

#8696Merged
Comparing
Faizanq:fix/8685-preserve-comments-in-lone-blocks
(
2e000cc
) with
main
(
957cd8e
)
CodSpeed Performance Gauge
0%
Untouched
58
Ignored
2
Skipped
95

Benchmarks

155 total
pixi.min_8151088792683739606.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+3%
120.8 ms117.6 ms
checker_6456328407951392140.ts[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+3%
272.9 ms265.8 ms
react-dom.production.min_7131952758041326366.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+3%
34.9 ms34.1 ms
compiler_3469143416596620219.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+2%
142.5 ms140.2 ms
js_formatter[react-dom.production.min_7131952758041326366.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+2%
136.7 ms134.6 ms
parser_13571644119461115204.ts[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
6 ms5.9 ms
math_5920422916221598348.js[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
207 ms205.1 ms
three.min_17199329737537001178.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
133.7 ms132.8 ms
three.min_17199329737537001178.js[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
146 ms145.1 ms
js_formatter[d3.min_16009850199655599998.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
429.9 ms427.5 ms
react.production.min_3378072959512366797.js[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
0%
2 ms2 ms
vue.global.prod_4065256639735990520.js[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
0%
44.8 ms44.6 ms
js_formatter[pixi.min_8151088792683739606.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
467.7 ms466.2 ms
js_analyzer[index_3894593175024091846.js]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
63.1 ms62.9 ms
js_formatter[checker_6456328407951392140.ts]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
897.8 ms896.1 ms
js_formatter[react.production.min_3378072959512366797.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
6.9 ms6.9 ms
js_analyzer[statement_263793315104667298.ts]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
91.2 ms91.1 ms
js_analyzer[lint_13640784270757307929.ts]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
59.9 ms59.8 ms
vue.global.prod_4065256639735990520.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
0%
41.5 ms41.4 ms
js_analyzer[typescript_3735799142832611563.ts]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
142.9 ms142.8 ms
js_analyzer[parser_13571644119461115204.ts]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
106.4 ms106.3 ms
js_formatter[tex-chtml-full_561698452596513081.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
1.1 s1.1 s
ios.d_12216376241674358710.d.ts[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
0%
247.6 ms247.5 ms
js_analyzer[router_17129688031671448157.ts]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
29.1 ms29.1 ms
js_analyzer[css_16118272471217147034.js]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
26.3 ms26.3 ms

Commits

Click on a commit to change the comparison range
Base
main
957cd8e
-0.09%
fix(linter): don't remove empty blocks containing comments
1a662bb
3 months ago
by Faizanq
-0.07%
chore: add changeset
2e000cc
3 months ago
by Faizanq
© 2026 CodSpeed Technology
Home Terms Privacy Docs