Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

fix(lint): preserve ternary branch comments in noNegationElse

#9630
Comparing
raashish1601:contributor-06/no-negation-else-ternary-comments
(
4e8eaf2
) with
main
(
599dd04
)
CodSpeed Performance Gauge
0%
Untouched
58
Ignored
2
Skipped
168

Benchmarks

228 total
parser_13571644119461115204.ts[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+4%
6.2 ms6 ms
math_5920422916221598348.js[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+3%
208.9 ms203.2 ms
ios.d_12216376241674358710.d.ts[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+2%
276.6 ms270.7 ms
js_formatter[vue.global.prod_4065256639735990520.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+2%
173.8 ms170.7 ms
compiler_3469143416596620219.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+2%
143.4 ms141 ms
jquery.min_16034160674129647344.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
26.6 ms26.3 ms
three.min_17199329737537001178.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
135.9 ms134.4 ms
vue.global.prod_4065256639735990520.js[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
45.6 ms45.2 ms
js_formatter[router_17129688031671448157.ts]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
6.5 ms6.5 ms
pixi.min_8151088792683739606.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
118.3 ms117.5 ms
js_formatter[react.production.min_3378072959512366797.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
6.8 ms6.7 ms
js_analyzer[lint_13640784270757307929.ts]
crates/biome_js_analyze/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
62.8 ms62.5 ms
math_5920422916221598348.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
0%
197.7 ms197 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
0%
34.5 ms34.3 ms
js_formatter[d3.min_16009850199655599998.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
425.7 ms424.7 ms
js_formatter[checker_6456328407951392140.ts]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
899.6 ms897.6 ms
js_formatter[parser_13571644119461115204.ts]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
19.4 ms19.3 ms
checker_6456328407951392140.ts[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
0%
246.4 ms246 ms
js_formatter[math_5920422916221598348.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
836 ms834.8 ms
js_formatter[typescript_5583633924076080079.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
3.4 s3.4 s
parser_13571644119461115204.ts[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
0%
6.7 ms6.7 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.8 ms41.8 ms
class_strings[variant_classes]
crates/biome_js_analyze/benches/use_sorted_classes_parser.rs::use_sorted_classes_parser::bench_use_sorted_classes_parser::use_sorted_classes_parser
CodSpeed Performance Gauge
0%
36.1 µs36 µs
js_formatter[react-dom.production.min_7131952758041326366.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
135.7 ms135.6 ms
js_formatter[dojo_11880045762646467684.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
27.2 ms27.2 ms

Commits

Click on a commit to change the comparison range
Base
main
599dd04
+0.05%
fix(lint): preserve swapped ternary colon spacing
356b5f5
11 hours ago
by raashish1601
-0.02%
fix(lint): preserve ternary token trivia swap
fc58ce9
11 hours ago
by raashish1601
+0.01%
test(lint): cover ternary branch trivia swap
3e62ae9
10 hours ago
by raashish1601
-0.11%
fix(lint): preserve removed negation trivia in noNegationElse
62e4084
9 hours ago
by raashish1601
+0.12%
test(lint): cover noNegationElse alternate suffix trivia
294cf2b
6 hours ago
by raashish1601
-0.12%
test(lint): sharpen noNegationElse invalid fixture
4e8eaf2
5 hours ago
by raashish1601
© 2026 CodSpeed Technology
Home Terms Privacy Docs