Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

fix: `noInvalidUseBeforeDeclaration` false-positive for param destructuring with default values

#1672Closed
Comparing
vasucp1207:useBeforeDeclaration
(
4138f14
) with
main
(
6a768ed
)
CodSpeed Performance Gauge
-6%
Improvements
0
Regressions
0
Untouched
80
New
0
Dropped
0
Ignored
11

Benchmarks

Passed

materialize.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::materialize.css[cached]
CodSpeed Performance Gauge
+3%
32.8 ms
31.9 ms
parser.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::parser.ts[uncached]
CodSpeed Performance Gauge
+2%
7.2 ms
7 ms
pixi.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::pixi.min.js[cached]
CodSpeed Performance Gauge
+2%
125.8 ms
123.1 ms
canada.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[uncached]
CodSpeed Performance Gauge
+2%
227.8 ms
223.5 ms
foundation.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::foundation.css[uncached]
CodSpeed Performance Gauge
+2%
32 ms
31.4 ms
tachyons.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[cached]
CodSpeed Performance Gauge
+2%
20.9 ms
20.6 ms
tachyons.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[uncached]
CodSpeed Performance Gauge
+2%
24 ms
23.6 ms
pure.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::pure.css[uncached]
CodSpeed Performance Gauge
+2%
4.6 ms
4.5 ms
js_formatter[parser.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[parser.ts]
CodSpeed Performance Gauge
+2%
21.3 ms
20.9 ms
js_formatter[dojo.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[dojo.js]
CodSpeed Performance Gauge
+1%
29.8 ms
29.4 ms
canada.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[cached]
CodSpeed Performance Gauge
+1%
176.5 ms
174.4 ms
json_formatter[react-dom.production.min.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[react-dom.production.min.js]
CodSpeed Performance Gauge
+1%
145.9 ms
144.3 ms
tex-chtml-full.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::tex-chtml-full.js[uncached]
CodSpeed Performance Gauge
+1%
293.3 ms
290.2 ms
math.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[uncached]
CodSpeed Performance Gauge
+1%
222.7 ms
220.4 ms
d3.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::d3.min.js[cached]
CodSpeed Performance Gauge
+1%
107.5 ms
106.5 ms
bulma.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bulma.css[uncached]
CodSpeed Performance Gauge
+1%
47.9 ms
47.5 ms
semantic.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[uncached]
CodSpeed Performance Gauge
+1%
147.3 ms
146.2 ms
d3.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::d3.min.js[uncached]
CodSpeed Performance Gauge
+1%
115.4 ms
114.6 ms
js_formatter[pixi.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[pixi.min.js]
CodSpeed Performance Gauge
+1%
501.3 ms
498.1 ms
compiler.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[uncached]
CodSpeed Performance Gauge
+1%
168 ms
167 ms
three.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::three.min.js[cached]
CodSpeed Performance Gauge
+1%
142.4 ms
141.6 ms
js_formatter[router.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[router.ts]
CodSpeed Performance Gauge
+1%
7.2 ms
7.1 ms
js_formatter[tex-chtml-full.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[tex-chtml-full.js]
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
json_formatter[vue.global.prod.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[vue.global.prod.js]
CodSpeed Performance Gauge
0%
185.4 ms
184.7 ms
checker.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::checker.ts[cached]
CodSpeed Performance Gauge
0%
257.7 ms
256.8 ms
json_formatter[d3.min.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[d3.min.js]
CodSpeed Performance Gauge
0%
454.6 ms
453.1 ms
json_formatter[dojo.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[dojo.js]
CodSpeed Performance Gauge
0%
29.3 ms
29.2 ms
semantic.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[cached]
CodSpeed Performance Gauge
0%
139.6 ms
139.2 ms
compiler.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[cached]
CodSpeed Performance Gauge
0%
149.2 ms
148.8 ms
js_formatter[d3.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[d3.min.js]
CodSpeed Performance Gauge
0%
453.6 ms
452.4 ms
json_formatter[math.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[math.js]
CodSpeed Performance Gauge
0%
906.3 ms
904.4 ms
json_formatter[react.production.min.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[react.production.min.js]
CodSpeed Performance Gauge
0%
7.6 ms
7.6 ms
js_formatter[checker.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[checker.ts]
CodSpeed Performance Gauge
0%
946.1 ms
944.3 ms
analyzer[index.js]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[index.js]
CodSpeed Performance Gauge
0%
32.3 ms
32.2 ms
react-dom.production.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react-dom.production.min.js[cached]
CodSpeed Performance Gauge
0%
36.8 ms
36.7 ms
full.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::full.css[uncached]
CodSpeed Performance Gauge
0%
526 ms
525.1 ms
analyzer[lint.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[lint.ts]
CodSpeed Performance Gauge
0%
24.7 ms
24.7 ms
js_formatter[three.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[three.min.js]
CodSpeed Performance Gauge
0%
608.8 ms
608 ms
analyzer[router.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[router.ts]
CodSpeed Performance Gauge
0%
13.7 ms
13.7 ms
materialize.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::materialize.css[uncached]
CodSpeed Performance Gauge
0%
35.6 ms
35.5 ms
analyzer[statement.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[statement.ts]
CodSpeed Performance Gauge
0%
41.8 ms
41.8 ms
bootstrap.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bootstrap.css[uncached]
CodSpeed Performance Gauge
0%
49.8 ms
49.7 ms
full.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::full.css[cached]
CodSpeed Performance Gauge
0%
500.5 ms
500.4 ms
bulma.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bulma.css[cached]
CodSpeed Performance Gauge
0%
43.8 ms
43.8 ms
analyzer[typescript.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[typescript.ts]
CodSpeed Performance Gauge
0%
67.4 ms
67.4 ms
json_formatter[jquery.min.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[jquery.min.js]
CodSpeed Performance Gauge
0%
122.4 ms
122.4 ms
tex-chtml-full.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::tex-chtml-full.js[cached]
CodSpeed Performance Gauge
0%
275.2 ms
275.2 ms
foundation.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::foundation.css[cached]
CodSpeed Performance Gauge
0%
29.5 ms
29.5 ms
analyzer[css.js]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[css.js]
CodSpeed Performance Gauge
0%
13.9 ms
13.9 ms
json_formatter[typescript.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[typescript.js]
CodSpeed Performance Gauge
0%
3.6 s
3.6 s
bootstrap.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bootstrap.css[cached]
CodSpeed Performance Gauge
0%
46 ms
46 ms
js_formatter[compiler.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[compiler.js]
CodSpeed Performance Gauge
0%
559 ms
559.3 ms
analyzer[parser.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[parser.ts]
CodSpeed Performance Gauge
0%
46.7 ms
46.7 ms
json_formatter[pixi.min.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[pixi.min.js]
CodSpeed Performance Gauge
0%
498.7 ms
499.1 ms
js_formatter[typescript.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[typescript.js]
CodSpeed Performance Gauge
0%
3.6 s
3.6 s
math.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[cached]
CodSpeed Performance Gauge
0%
205.1 ms
205.2 ms
json_formatter[tex-chtml-full.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[tex-chtml-full.js]
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
json_formatter[three.min.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[three.min.js]
CodSpeed Performance Gauge
0%
607.1 ms
608.3 ms
package-lock.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::package-lock.json[uncached]
CodSpeed Performance Gauge
0%
6.2 ms
6.2 ms
vue.global.prod.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::vue.global.prod.js[cached]
CodSpeed Performance Gauge
0%
44.7 ms
44.9 ms
js_formatter[math.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[math.js]
CodSpeed Performance Gauge
0%
905.5 ms
908.1 ms
js_formatter[jquery.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[jquery.min.js]
CodSpeed Performance Gauge
0%
122.1 ms
122.5 ms
json_formatter[compiler.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[compiler.js]
CodSpeed Performance Gauge
0%
557.1 ms
558.9 ms
js_formatter[ios.d.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[ios.d.ts]
CodSpeed Performance Gauge
0%
807 ms
809.9 ms
ios.d.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::ios.d.ts[cached]
CodSpeed Performance Gauge
-1%
266.6 ms
268.3 ms
js_formatter[react-dom.production.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[react-dom.production.min.js]
CodSpeed Performance Gauge
-1%
145.2 ms
146.1 ms
checker.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::checker.ts[uncached]
CodSpeed Performance Gauge
-1%
287.7 ms
290 ms
three.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::three.min.js[uncached]
CodSpeed Performance Gauge
-1%
151.2 ms
152.6 ms
pixi.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::pixi.min.js[uncached]
CodSpeed Performance Gauge
-1%
137.1 ms
138.5 ms
js_formatter[vue.global.prod.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[vue.global.prod.js]
CodSpeed Performance Gauge
-1%
183.5 ms
185.7 ms
react-dom.production.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react-dom.production.min.js[uncached]
CodSpeed Performance Gauge
-1%
39.7 ms
40.2 ms
parser.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::parser.ts[cached]
CodSpeed Performance Gauge
-1%
6.4 ms
6.5 ms
react.production.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react.production.min.js[uncached]
CodSpeed Performance Gauge
-2%
2.3 ms
2.3 ms
vue.global.prod.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::vue.global.prod.js[uncached]
CodSpeed Performance Gauge
-2%
48.2 ms
48.9 ms
ios.d.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::ios.d.ts[uncached]
CodSpeed Performance Gauge
-2%
289.7 ms
294.8 ms
js_formatter[react.production.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[react.production.min.js]
CodSpeed Performance Gauge
-2%
7.5 ms
7.6 ms
jquery.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::jquery.min.js[cached]
CodSpeed Performance Gauge
-2%
28.3 ms
28.9 ms
pure.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::pure.css[cached]
CodSpeed Performance Gauge
-2%
4 ms
4.1 ms
package-lock.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::package-lock.json[cached]
CodSpeed Performance Gauge
-2%
5.8 ms
6 ms
jquery.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::jquery.min.js[uncached]
CodSpeed Performance Gauge
-5%
29.7 ms
31.2 ms

Ignored

dojo.js[cached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::dojo.js[cached]
CodSpeed Performance Gauge
-6%
8.2 ms
8.8 ms
dojo.js[uncached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::dojo.js[uncached]
CodSpeed Performance Gauge
-1%
9.5 ms
9.7 ms
react.production.min.js[cached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react.production.min.js[cached]
CodSpeed Performance Gauge
+3%
2.1 ms
2 ms
router.ts[cached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::router.ts[cached]
CodSpeed Performance Gauge
-1%
2.1 ms
2.1 ms
router.ts[uncached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::router.ts[uncached]
CodSpeed Performance Gauge
+6%
2.6 ms
2.4 ms
big5-added.json[cached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::big5-added.json[cached]
CodSpeed Performance Gauge
0%
460.4 µs
460.4 µs
big5-added.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::big5-added.json[uncached]
CodSpeed Performance Gauge
-7%
569.4 µs
610.3 µs
db.json[cached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::db.json[cached]
CodSpeed Performance Gauge
-9%
13.2 ms
14.5 ms
db.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::db.json[uncached]
CodSpeed Performance Gauge
-3%
15.7 ms
16.3 ms
eucjp.json[cached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::eucjp.json[cached]
CodSpeed Performance Gauge
0%
852.2 µs
855.7 µs
eucjp.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::eucjp.json[uncached]
CodSpeed Performance Gauge
+3%
1 ms
1 ms

Commits

Click on a commit to change the comparison range
Base
main
6a768ed
-6%
ignores param destructuring
4138f14
11 months ago
by vasucp1207
Home Terms PrivacyDocs