Avatar for the biomejs user
biomejs
biome
BlogDocs

fix(lint/a11y/use_button_type): skip the rule with spread attribute

#2249Merged
Comparing
fireairforce:fix-2248
(
d088b7c
) with
main
(
d98c549
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
82
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
+2%
33.3 ms
32.7 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
+1%
2.3 ms
2.2 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
39.2 ms
semantic.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[cached]
CodSpeed Performance Gauge
+1%
141.9 ms
140.3 ms
foundation.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::foundation.css[uncached]
CodSpeed Performance Gauge
+1%
32.1 ms
31.8 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.2 ms
6.1 ms
bulma.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bulma.css[uncached]
CodSpeed Performance Gauge
+1%
48.3 ms
48 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
+1%
5.6 ms
5.6 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
+1%
489.6 ms
486.1 ms
json_formatter[dojo.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[dojo.js]
CodSpeed Performance Gauge
+1%
28.7 ms
28.5 ms
js_formatter[math.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[math.js]
CodSpeed Performance Gauge
+1%
888.7 ms
883.5 ms
math.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[cached]
CodSpeed Performance Gauge
+1%
201.2 ms
200.1 ms
tachyons.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[cached]
CodSpeed Performance Gauge
+1%
20.8 ms
20.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%
255.1 ms
253.9 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%
268.3 ms
267.3 ms
js_formatter[checker.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[checker.ts]
CodSpeed Performance Gauge
0%
926.7 ms
923.8 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
0%
285.8 ms
284.9 ms
canada.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[uncached]
CodSpeed Performance Gauge
0%
220.6 ms
220 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%
5.9 ms
5.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
0%
287.5 ms
286.7 ms
analyzer[lint.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[lint.ts]
CodSpeed Performance Gauge
0%
28.1 ms
28.1 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
0%
263.2 ms
262.5 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.1 ms
524.8 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%
596.1 ms
594.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
0%
136.4 ms
136.1 ms
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%
593.9 ms
592.6 ms
canada.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[cached]
CodSpeed Performance Gauge
0%
169.8 ms
169.5 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
0%
140.4 ms
140.1 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%
445.5 ms
444.8 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.3 ms
499.5 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%
444.9 ms
444.2 ms
analyzer[router.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[router.ts]
CodSpeed Performance Gauge
0%
15.6 ms
15.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%
545.3 ms
544.7 ms
typescript.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::typescript.js[uncached]
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
analyzer[css.js]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[css.js]
CodSpeed Performance Gauge
0%
15.2 ms
15.2 ms
analyzer[typescript.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[typescript.ts]
CodSpeed Performance Gauge
0%
75.7 ms
75.7 ms
analyzer[statement.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[statement.ts]
CodSpeed Performance Gauge
0%
47 ms
47 ms
analyzer[index.js]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[index.js]
CodSpeed Performance Gauge
0%
32.7 ms
32.7 ms
analyzer[parser.ts]
xtask/bench/benches/analyzer.rs::analyzer::bench_analyzer::analyzer[parser.ts]
CodSpeed Performance Gauge
0%
52 ms
52 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[math.js]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[math.js]
CodSpeed Performance Gauge
0%
885.7 ms
885.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
0%
27.7 ms
27.6 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
0%
7.4 ms
7.4 ms
typescript.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::typescript.js[cached]
CodSpeed Performance Gauge
0%
968.6 ms
968.5 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
0%
29 ms
29 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%
119.4 ms
119.4 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
compiler.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[cached]
CodSpeed Performance Gauge
0%
145.5 ms
145.5 ms
compiler.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[uncached]
CodSpeed Performance Gauge
0%
163.4 ms
163.4 ms
js_formatter[router.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[router.ts]
CodSpeed Performance Gauge
0%
7 ms
7 ms
pure.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::pure.css[cached]
CodSpeed Performance Gauge
0%
3.9 ms
3.9 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
0%
487.8 ms
488.2 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
0%
104.1 ms
104.2 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.4 ms
7.4 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.5 s
3.5 s
semantic.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[uncached]
CodSpeed Performance Gauge
0%
149.2 ms
149.4 ms
materialize.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::materialize.css[uncached]
CodSpeed Performance Gauge
0%
36.2 ms
36.2 ms
math.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[uncached]
CodSpeed Performance Gauge
0%
216.3 ms
216.6 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.5 s
3.5 s
pixi.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::pixi.min.js[cached]
CodSpeed Performance Gauge
0%
122.2 ms
122.4 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
0%
47.3 ms
47.4 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%
35.8 ms
35.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%
787.8 ms
790.1 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
0%
112.5 ms
112.8 ms
checker.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::checker.ts[uncached]
CodSpeed Performance Gauge
0%
281.8 ms
282.7 ms
js_formatter[compiler.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[compiler.js]
CodSpeed Performance Gauge
0%
543.3 ms
545.2 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
0%
181.8 ms
182.6 ms
tachyons.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[uncached]
CodSpeed Performance Gauge
0%
24.4 ms
24.5 ms
parser.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::parser.ts[uncached]
CodSpeed Performance Gauge
0%
7 ms
7 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
0%
138.5 ms
139.2 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%
148.1 ms
149 ms
bulma.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bulma.css[cached]
CodSpeed Performance Gauge
-1%
44.3 ms
44.5 ms
bootstrap.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bootstrap.css[cached]
CodSpeed Performance Gauge
-1%
46.7 ms
47 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
-1%
43.8 ms
44.2 ms
bootstrap.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bootstrap.css[uncached]
CodSpeed Performance Gauge
-1%
50.4 ms
50.9 ms
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
-1%
181.2 ms
183 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%
140.9 ms
142.3 ms
pure.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::pure.css[uncached]
CodSpeed Performance Gauge
-1%
4.5 ms
4.5 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
-1%
118.1 ms
119.4 ms
js_formatter[parser.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[parser.ts]
CodSpeed Performance Gauge
-2%
20.4 ms
20.7 ms
js_formatter[dojo.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[dojo.js]
CodSpeed Performance Gauge
-2%
28.4 ms
28.8 ms
foundation.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::foundation.css[cached]
CodSpeed Performance Gauge
-2%
30.1 ms
30.7 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
0%
8.2 ms
8.2 ms
dojo.js[uncached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::dojo.js[uncached]
CodSpeed Performance Gauge
-4%
9.1 ms
9.5 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 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
0%
2.5 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
+1%
444.6 µs
442.2 µ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
+1%
552.2 µs
548.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%
14.1 ms
12.9 ms
db.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::db.json[uncached]
CodSpeed Performance Gauge
+1%
16.2 ms
15.9 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%
817.4 µs
816.4 µs
eucjp.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::eucjp.json[uncached]
CodSpeed Performance Gauge
0%
969.7 µs
969.6 µs

Commits

Click on a commit to change the comparison range
Base
main
d98c549
0%
fix(lint/a11y/use_button_type): skip the rule with spread attribute
d088b7c
9 months ago
by fireairforce
Home Terms PrivacyDocs