Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

feat(lint/useValidAutocomplete): add rule

#3143Merged
Comparing
unvalley:use-valid-autocomplete
(
5def85f
) with
main
(
d2b08d1
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
90
New
0
Dropped
0
Ignored
11

Benchmarks

Passed

css_formatter[pure.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[pure.css]
CodSpeed Performance Gauge
+4%
9.6 ms
9.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
+3%
144 ms
139.6 ms
js_formatter[router.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[router.ts]
CodSpeed Performance Gauge
+3%
7 ms
6.8 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.2 ms
2.2 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.7 ms
4.6 ms
json_formatter[eucjp.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[eucjp.json]
CodSpeed Performance Gauge
+1%
3 ms
3 ms
css_formatter[bulma.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[bulma.css]
CodSpeed Performance Gauge
+1%
110.6 ms
109.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
+1%
260.6 ms
257.1 ms
js_formatter[parser.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[parser.ts]
CodSpeed Performance Gauge
+1%
20.5 ms
20.3 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.2 ms
47.6 ms
js_formatter[dojo.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[dojo.js]
CodSpeed Performance Gauge
+1%
28.6 ms
28.3 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
+1%
121.6 ms
120.5 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%
131.3 ms
130.1 ms
css_formatter[foundation.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[foundation.css]
CodSpeed Performance Gauge
+1%
74.5 ms
73.9 ms
js_analyzer[lint.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[lint.ts]
CodSpeed Performance Gauge
+1%
25.8 ms
25.6 ms
js_analyzer[index.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[index.js]
CodSpeed Performance Gauge
+1%
32.6 ms
32.4 ms
js_analyzer[statement.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[statement.ts]
CodSpeed Performance Gauge
+1%
47.4 ms
47.1 ms
js_analyzer[typescript.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[typescript.ts]
CodSpeed Performance Gauge
+1%
75.7 ms
75.3 ms
js_analyzer[parser.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[parser.ts]
CodSpeed Performance Gauge
+1%
53 ms
52.6 ms
js_analyzer[router.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[router.ts]
CodSpeed Performance Gauge
+1%
15.1 ms
15 ms
js_analyzer[css.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[css.js]
CodSpeed Performance Gauge
+1%
15.3 ms
15.2 ms
json_formatter[db.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[db.json]
CodSpeed Performance Gauge
0%
45.8 ms
45.6 ms
css_analyzer[tachyons.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[tachyons.css]
CodSpeed Performance Gauge
0%
42.6 ms
42.4 ms
css_formatter[semantic.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[semantic.css]
CodSpeed Performance Gauge
0%
295 ms
293.8 ms
semantic.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[uncached]
CodSpeed Performance Gauge
0%
151.5 ms
150.9 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
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.7 ms
112.3 ms
json_formatter[canada.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[canada.json]
CodSpeed Performance Gauge
0%
745 ms
742.5 ms
css_analyzer[pure.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[pure.css]
CodSpeed Performance Gauge
0%
6.4 ms
6.4 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
0%
145.9 ms
145.5 ms
css_analyzer[foundation.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[foundation.css]
CodSpeed Performance Gauge
0%
59.7 ms
59.6 ms
css_analyzer[bulma.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[bulma.css]
CodSpeed Performance Gauge
0%
92.5 ms
92.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%
923.6 ms
922 ms
parser.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::parser.ts[cached]
CodSpeed Performance Gauge
0%
6.2 ms
6.2 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%
786.1 ms
785.2 ms
json_formatter[big5-added.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[big5-added.json]
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
css_analyzer[bootstrap.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[bootstrap.css]
CodSpeed Performance Gauge
0%
227 ms
226.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%
490.4 ms
490.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%
119.8 ms
119.7 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 ms
444.9 ms
full.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::full.css[uncached]
CodSpeed Performance Gauge
0%
518.5 ms
518.3 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 s
1 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.4 ms
46.4 ms
compiler.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[uncached]
CodSpeed Performance Gauge
0%
162.5 ms
162.5 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
0%
5.4 ms
5.4 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 ms
6 ms
schema.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_css_parser::graphql_parser::schema.graphql[cached]
CodSpeed Performance Gauge
0%
638.2 µs
638.3 µs
json_formatter[package-lock.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[package-lock.json]
CodSpeed Performance Gauge
0%
20 ms
20 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.8 ms
29.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%
50.3 ms
50.3 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%
283.1 ms
283.1 ms
css_formatter[full.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[full.css]
CodSpeed Performance Gauge
0%
1.2 s
1.2 s
compiler.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[cached]
CodSpeed Performance Gauge
0%
144.2 ms
144.3 ms
js_formatter[math.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[math.js]
CodSpeed Performance Gauge
0%
888.6 ms
888.9 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
bulma.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bulma.css[cached]
CodSpeed Performance Gauge
0%
43.9 ms
44 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.5 ms
35.5 ms
typescript.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::typescript.js[cached]
CodSpeed Performance Gauge
0%
955.1 ms
955.9 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%
137 ms
137.1 ms
schema.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_css_parser::graphql_parser::schema.graphql[uncached]
CodSpeed Performance Gauge
0%
689.8 µs
690.5 µs
materialize.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::materialize.css[cached]
CodSpeed Performance Gauge
0%
32.6 ms
32.6 ms
css_formatter[bootstrap.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[bootstrap.css]
CodSpeed Performance Gauge
0%
110.8 ms
110.9 ms
tachyons.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[uncached]
CodSpeed Performance Gauge
0%
25.1 ms
25.1 ms
canada.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[uncached]
CodSpeed Performance Gauge
0%
218.9 ms
219.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
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
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%
593.3 ms
594.7 ms
css_formatter[tachyons.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[tachyons.css]
CodSpeed Performance Gauge
0%
37.5 ms
37.6 ms
js_formatter[compiler.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[compiler.js]
CodSpeed Performance Gauge
0%
547.8 ms
549.5 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%
43.3 ms
43.4 ms
math.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[cached]
CodSpeed Performance Gauge
0%
198.9 ms
199.9 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%
283 ms
284.6 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
-1%
266.5 ms
268.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%
181.8 ms
183.3 ms
full.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::full.css[cached]
CodSpeed Performance Gauge
-1%
491.3 ms
495.5 ms
semantic.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[cached]
CodSpeed Performance Gauge
-1%
140 ms
141.6 ms
checker.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::checker.ts[uncached]
CodSpeed Performance Gauge
-1%
276.7 ms
279.9 ms
math.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[uncached]
CodSpeed Performance Gauge
-1%
210.1 ms
213 ms
canada.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[cached]
CodSpeed Performance Gauge
-1%
165.2 ms
167.5 ms
css_formatter[materialize.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[materialize.css]
CodSpeed Performance Gauge
-1%
80.6 ms
81.7 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%
46.7 ms
47.4 ms
checker.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::checker.ts[cached]
CodSpeed Performance Gauge
-2%
248.5 ms
253 ms
materialize.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::materialize.css[uncached]
CodSpeed Performance Gauge
-2%
35.7 ms
36.3 ms
foundation.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::foundation.css[uncached]
CodSpeed Performance Gauge
-2%
31.4 ms
31.9 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
-2%
38.7 ms
39.5 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%
27.6 ms
28.3 ms
tachyons.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[cached]
CodSpeed Performance Gauge
-3%
20.6 ms
21.2 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
-3%
29.3 ms
30.3 ms
parser.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::parser.ts[uncached]
CodSpeed Performance Gauge
-3%
6.8 ms
7.1 ms
pure.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::pure.css[cached]
CodSpeed Performance Gauge
-4%
3.8 ms
4 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
+3%
8.4 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
+5%
9.5 ms
9.1 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
+4%
2 ms
1.9 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
-3%
2.4 ms
2.5 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
-5%
430.3 µs
454.9 µ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
+11%
602.9 µs
542.7 µs
db.json[cached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::db.json[cached]
CodSpeed Performance Gauge
-3%
13.2 ms
13.6 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%
15 ms
14.8 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%
805.6 µs
805 µ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%
957.9 µs
957.7 µs

Commits

Click on a commit to change the comparison range
Base
main
d2b08d1
0%
gen all
5bbf1ee
1 year ago
by unvalley
0%
fix lint error
059bc88
1 year ago
by unvalley
0%
remove no diagnostic invalid example
1f99c3f
1 year ago
by unvalley
0%
CHANGELOG.md
5c123e2
1 year ago
by unvalley
0%
remove no diagnostic invalid example
3fa0044
1 year ago
by unvalley
0%
try fix clippy error
727207c
1 year ago
by unvalley
0%
Update rule document
2fa47f2
1 year ago
by unvalley
0%
Merge branch 'main' into use-valid-autocomplete
d21fc40
1 year ago
by unvalley
0%
gen all
560e2b7
1 year ago
by unvalley
0%
add comments to the rule option
096cfcc
1 year ago
by unvalley
0%
use backtick for `input` in the option comment
12adb22
1 year ago
by unvalley
0%
test for binary search
5def85f
1 year ago
by unvalley
© 2025 CodSpeed Technology
Home Terms Privacy Docs