biomejs
biome
BlogDocsChangelog

feat(lint): add rule `useAtIndex`

#4120Merged
Comparing
GunseiKPaseri:use-at-index
(
387634a
) with
main
(
d2273a6
)
CodSpeed Performance Gauge
+7%
Untouched
92
Ignored
20

Benchmarks

Passed

materialize_5526761731747548557.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+3%
29.6 ms28.7 ms
parser_13571644119461115204.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+3%
7.2 ms7 ms
json_formatter[big5-added_15586211152145260264.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+2%
1.7 ms1.6 ms
checker_6456328407951392140.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+2%
284.5 ms279.1 ms
tachyons_11778168428173736564.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
19.5 ms19.2 ms
schema_17790310256719731354.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
+2%
11.2 ms11 ms
parser_13571644119461115204.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+2%
6.4 ms6.4 ms
bootstrap_18416142857265205439.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
44 ms43.4 ms
json_formatter[db_17847247775464589309.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+1%
47.2 ms46.7 ms
compiler_3469143416596620219.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
147.4 ms145.8 ms
semantic_4685287698740288120.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
132.3 ms130.9 ms
css_formatter[materialize_5526761731747548557.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
+1%
90.2 ms89.5 ms
js_formatter[react-dom.production.min_7131952758041326366.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
139 ms137.9 ms
schema_17790310256719731354.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
+1%
12.6 ms12.5 ms
tachyons_11778168428173736564.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
23.1 ms23 ms
css_formatter[foundation_11602414662825430680.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
+1%
82.4 ms81.8 ms
compiler_3469143416596620219.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
163.6 ms162.7 ms
tex-chtml-full_561698452596513081.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
270.2 ms268.9 ms
math_5920422916221598348.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
214.1 ms213.1 ms
js_formatter[dojo_11880045762646467684.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
28.1 ms27.9 ms
three.min_17199329737537001178.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
146 ms145.3 ms
css_formatter[semantic_4685287698740288120.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
391.1 ms389.6 ms
canada_639262044961882324.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
167.8 ms167.2 ms
js_formatter[pixi.min_8151088792683739606.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
473.9 ms472.3 ms
typescript_5583633924076080079.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
1 s1 s
js_formatter[checker_6456328407951392140.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
901.2 ms899 ms
css_formatter[bulma_5641719244145477318.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
393.9 ms393.2 ms
js_formatter[d3.min_16009850199655599998.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
432.1 ms431.3 ms
canada_639262044961882324.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
221.4 ms221.1 ms
js_formatter[compiler_3469143416596620219.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
532.9 ms532.2 ms
bulma_5641719244145477318.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
130 ms129.8 ms
full_5814491140539129161.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
469.4 ms468.9 ms
bootstrap_18416142857265205439.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
39.7 ms39.7 ms
js_formatter[typescript_5583633924076080079.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
3.4 s3.4 s
d3.min_16009850199655599998.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
106.4 ms106.3 ms
css_formatter[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
124.2 ms124.1 ms
css_formatter[pure_9395922602181450299.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
10 ms10 ms
css_formatter[full_5814491140539129161.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
1.4 s1.4 s
schema_5810376208714739011.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
631 µs630.7 µs
css_analyzer[bulma_5641719244145477318.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
610.1 ms609.9 ms
css_analyzer[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
212.3 ms212.3 ms
graphql_formatter[schema_17790310256719731354.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
27.1 ms27.1 ms
typescript_5583633924076080079.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
960.1 ms959.9 ms
js_formatter[router_17129688031671448157.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
6.6 ms6.6 ms
tex-chtml-full_561698452596513081.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
287.1 ms287 ms
vue.global.prod_4065256639735990520.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
43.6 ms43.6 ms
json_formatter[package-lock_11240515041603712709.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
19.9 ms19.9 ms
css_analyzer[foundation_11602414662825430680.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
144.6 ms144.6 ms
foundation_11602414662825430680.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
28.4 ms28.4 ms
package-lock_11240515041603712709.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
6.1 ms6.1 ms
package-lock_11240515041603712709.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
5.5 ms5.5 ms
json_formatter[canada_639262044961882324.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
722.2 ms722.2 ms
parser_13571644119461115204.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
107 ms107.1 ms
css_analyzer[tachyons_11778168428173736564.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
118.1 ms118.1 ms
graphql_formatter[schema_8546403410957788002.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
graphql_formatter[schema_5810376208714739011.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
js_formatter[jquery.min_16034160674129647344.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
116.2 ms116.3 ms
js_formatter[ios.d_12216376241674358710.d.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
759.8 ms760.4 ms
full_5814491140539129161.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
442.3 ms442.8 ms
react-dom.production.min_7131952758041326366.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
35.9 ms35.9 ms
ios.d_12216376241674358710.d.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
4.5 s4.5 s
checker_6456328407951392140.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
4.4 s4.4 s
router_17129688031671448157.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
32.9 ms33 ms
schema_8546403410957788002.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
vue.global.prod_4065256639735990520.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
47 ms47.1 ms
js_formatter[math_5920422916221598348.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
858.1 ms860.3 ms
math_5920422916221598348.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
201.5 ms202 ms
schema_5810376208714739011.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
605.7 µs607.5 µs
bulma_5641719244145477318.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
120.9 ms121.2 ms
js_formatter[tex-chtml-full_561698452596513081.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
1.1 s1.1 s
pixi.min_8151088792683739606.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
121.9 ms122.5 ms
three.min_17199329737537001178.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
137.7 ms138.3 ms
d3.min_16009850199655599998.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
114.2 ms114.7 ms
js_formatter[three.min_17199329737537001178.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
573.8 ms576.5 ms
react-dom.production.min_7131952758041326366.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
39 ms39.1 ms
css_formatter[tachyons_11778168428173736564.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
40.3 ms40.5 ms
checker_6456328407951392140.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
252.3 ms254.2 ms
js_analyzer[lint_13640784270757307929.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
32.7 ms33 ms
js_analyzer[index_3894593175024091846.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
42.8 ms43.1 ms
js_analyzer[css_16118272471217147034.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
17.7 ms17.8 ms
semantic_4685287698740288120.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
121.7 ms122.9 ms
js_analyzer[typescript_3735799142832611563.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
91.6 ms92.6 ms
js_analyzer[router_17129688031671448157.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
17.5 ms17.7 ms
js_analyzer[statement_263793315104667298.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
56 ms56.7 ms
materialize_5526761731747548557.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
32 ms32.4 ms
foundation_11602414662825430680.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
26.2 ms26.6 ms
schema_8546403410957788002.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
-2%
987.2 µs1,002.6 µs
js_analyzer[parser_13571644119461115204.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-2%
60.3 ms61.4 ms
js_formatter[vue.global.prod_4065256639735990520.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-2%
173.8 ms177 ms
json_formatter[eucjp_1600564308684076393.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
-2%
3 ms3.1 ms
js_formatter[parser_13571644119461115204.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-2%
19.7 ms20.1 ms
pixi.min_8151088792683739606.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-3%
131 ms135.1 ms

Ignored

css_analyzer[pure_9395922602181450299.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
Ignored
CodSpeed Performance Gauge
0%
17.1 ms17.1 ms
js_formatter[react.production.min_3378072959512366797.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
Ignored
CodSpeed Performance Gauge
-2%
7.1 ms7.2 ms
jquery.min_16034160674129647344.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
28.9 ms28.9 ms
db_17847247775464589309.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+7%
16.1 ms15.1 ms
eucjp_1600564308684076393.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
968 µs968.6 µs
db_17847247775464589309.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+3%
13.2 ms12.8 ms
big5-added_15586211152145260264.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-4%
547.2 µs567.6 µs
big5-added_15586211152145260264.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-1%
435.4 µs438.8 µs
eucjp_1600564308684076393.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
812.6 µs809 µs
react.production.min_3378072959512366797.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
dojo_11880045762646467684.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-1%
9.1 ms9.2 ms
jquery.min_16034160674129647344.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
27.1 ms27.1 ms
dojo_11880045762646467684.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
8.2 ms8.2 ms
react.production.min_3378072959512366797.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-2%
1.9 ms1.9 ms
ios.d_12216376241674358710.d.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
289.5 ms288.8 ms
router_17129688031671448157.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+5%
2.2 ms2.1 ms
router_17129688031671448157.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+4%
2.5 ms2.4 ms
ios.d_12216376241674358710.d.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+1%
264 ms261.4 ms
pure_9395922602181450299.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
+7%
3.6 ms3.4 ms
pure_9395922602181450299.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
+3%
4.1 ms4 ms

Commits

Click on a commit to change the comparison range
Base
main
d2273a6
+6.98%
test: add no lodash testcase
2ff8b95
1 year ago
by GunseiKPaseri
-7.29%
Merge branch 'main' into use-at-index
9aebbb7
1 year ago
by GunseiKPaseri
+7.35%
Merge branch 'main' into use-at-index
387634a
1 year ago
by GunseiKPaseri
© 2026 CodSpeed Technology
Home Terms Privacy Docs