biomejs
biome
BlogDocsChangelog

feat(lint): add `noImgElement` rule

#4155Merged
Comparing
kaioduarte:no-img-element
(
f8db5d5
) with
main
(
35bb699
)
CodSpeed Performance Gauge
0%
Untouched
92
Ignored
20

Benchmarks

Passed

compiler_3469143416596620219.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+3%
149.5 ms145.6 ms
checker_6456328407951392140.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+2%
257.1 ms251.5 ms
materialize_5526761731747548557.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
29.3 ms28.8 ms
foundation_11602414662825430680.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
28.8 ms28.3 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[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+2%
7.2 ms7.1 ms
tachyons_11778168428173736564.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
19.1 ms18.8 ms
js_formatter[vue.global.prod_4065256639735990520.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
176.9 ms174.3 ms
pixi.min_8151088792683739606.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
135.8 ms134 ms
tachyons_11778168428173736564.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
22.9 ms22.6 ms
json_formatter[big5-added_15586211152145260264.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+1%
1.7 ms1.6 ms
canada_639262044961882324.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
+1%
168.9 ms167.3 ms
vue.global.prod_4065256639735990520.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
44.3 ms43.9 ms
json_formatter[eucjp_1600564308684076393.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+1%
3.1 ms3 ms
js_formatter[pixi.min_8151088792683739606.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
475.1 ms471.6 ms
semantic_4685287698740288120.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
131.5 ms130.5 ms
js_formatter[three.min_17199329737537001178.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
576.7 ms573.5 ms
tex-chtml-full_561698452596513081.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
268.6 ms267.1 ms
css_formatter[bulma_5641719244145477318.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
393.4 ms391.8 ms
compiler_3469143416596620219.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
164.8 ms164.2 ms
css_formatter[foundation_11602414662825430680.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
82.5 ms82.2 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 ms46.8 ms
math_5920422916221598348.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
201.4 ms200.7 ms
css_formatter[tachyons_11778168428173736564.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
40.7 ms40.6 ms
js_formatter[compiler_3469143416596620219.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
532 ms530.2 ms
js_formatter[math_5920422916221598348.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
857 ms854 ms
full_5814491140539129161.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
446.6 ms445.2 ms
css_formatter[pure_9395922602181450299.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
10.1 ms10.1 ms
typescript_5583633924076080079.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
1.1 s1 s
react-dom.production.min_7131952758041326366.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
36 ms35.9 ms
tex-chtml-full_561698452596513081.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
283.6 ms282.9 ms
css_formatter[semantic_4685287698740288120.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
391.6 ms390.7 ms
full_5814491140539129161.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
470 ms468.9 ms
js_formatter[ios.d_12216376241674358710.d.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
761.4 ms760.4 ms
d3.min_16009850199655599998.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
106.5 ms106.4 ms
css_analyzer[foundation_11602414662825430680.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
144.8 ms144.8 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
schema_5810376208714739011.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
631.1 µs630.9 µs
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
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
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 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
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
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
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
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
css_analyzer[tachyons_11778168428173736564.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
118.1 ms118.1 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
bootstrap_18416142857265205439.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
43.9 ms43.9 ms
css_formatter[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
124 ms124.1 ms
schema_8546403410957788002.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
987.1 µs987.3 µs
js_formatter[jquery.min_16034160674129647344.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
116.3 ms116.3 ms
js_formatter[parser_13571644119461115204.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
20 ms20 ms
js_formatter[d3.min_16009850199655599998.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
431.3 ms431.5 ms
css_analyzer[bulma_5641719244145477318.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
607.4 ms607.7 ms
css_analyzer[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
211.9 ms212 ms
schema_5810376208714739011.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
605.3 µs605.7 µs
json_formatter[canada_639262044961882324.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
722.1 ms722.6 ms
three.min_17199329737537001178.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
146.8 ms146.9 ms
typescript_5583633924076080079.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
955.7 ms956.5 ms
graphql_formatter[schema_17790310256719731354.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
27.1 ms27.2 ms
parser_13571644119461115204.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
104.1 ms104.2 ms
checker_6456328407951392140.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
4.3 s4.3 s
router_17129688031671448157.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
32.2 ms32.2 ms
bulma_5641719244145477318.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
122 ms122.2 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
json_formatter[db_17847247775464589309.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
46.1 ms46.2 ms
bulma_5641719244145477318.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
130.2 ms130.5 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.4 s4.4 s
js_analyzer[css_16118272471217147034.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
17.7 ms17.8 ms
js_analyzer[lint_13640784270757307929.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
30.2 ms30.3 ms
js_formatter[checker_6456328407951392140.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
897.4 ms901 ms
js_analyzer[typescript_3735799142832611563.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
88.8 ms89.2 ms
js_analyzer[statement_263793315104667298.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
55 ms55.3 ms
js_formatter[dojo_11880045762646467684.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
27.9 ms28.1 ms
js_analyzer[router_17129688031671448157.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
17.6 ms17.7 ms
css_formatter[materialize_5526761731747548557.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
-1%
89.2 ms89.7 ms
js_analyzer[parser_13571644119461115204.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
60.7 ms61 ms
js_analyzer[index_3894593175024091846.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
-1%
40.6 ms40.9 ms
canada_639262044961882324.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
-1%
221.3 ms223 ms
js_formatter[react-dom.production.min_7131952758041326366.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
137.8 ms138.9 ms
schema_17790310256719731354.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
-1%
12.5 ms12.6 ms
pixi.min_8151088792683739606.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
120.2 ms121.3 ms
checker_6456328407951392140.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
279.2 ms282.1 ms
three.min_17199329737537001178.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
135.9 ms137.5 ms
semantic_4685287698740288120.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
123 ms124.4 ms
d3.min_16009850199655599998.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
113.4 ms115 ms
materialize_5526761731747548557.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
31.9 ms32.4 ms
js_formatter[router_17129688031671448157.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-2%
6.6 ms6.8 ms
math_5920422916221598348.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-2%
208.8 ms214 ms
foundation_11602414662825430680.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-3%
25.9 ms26.7 ms
parser_13571644119461115204.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-3%
6.3 ms6.6 ms

Ignored

ios.d_12216376241674358710.d.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-1%
283.3 ms286.7 ms
ios.d_12216376241674358710.d.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
261.2 ms261.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
+3%
2 ms1.9 ms
router_17129688031671448157.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
2.4 ms2.4 ms
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.2 ms2.2 ms
jquery.min_16034160674129647344.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-1%
29 ms29.3 ms
router_17129688031671448157.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-1%
2.1 ms2.1 ms
jquery.min_16034160674129647344.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-1%
27.5 ms27.8 ms
dojo_11880045762646467684.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+3%
9.4 ms9.2 ms
dojo_11880045762646467684.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-2%
8.4 ms8.5 ms
js_formatter[react.production.min_3378072959512366797.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
Ignored
CodSpeed Performance Gauge
+1%
7.2 ms7.1 ms
pure_9395922602181450299.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
+1%
3.4 ms3.4 ms
css_analyzer[pure_9395922602181450299.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
Ignored
CodSpeed Performance Gauge
0%
17 ms17.1 ms
pure_9395922602181450299.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
db_17847247775464589309.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-1%
12.8 ms12.9 ms
db_17847247775464589309.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+1%
16.2 ms16 ms
eucjp_1600564308684076393.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+1%
816.9 µs808.8 µs
big5-added_15586211152145260264.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-1%
433.4 µs435.8 µs
big5-added_15586211152145260264.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
547.3 µs547.1 µs
eucjp_1600564308684076393.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+27%
1,222.5 µs964.9 µs

Commits

Click on a commit to change the comparison range
Base
main
35bb699
-12.6%
feat(lint): add `no-img-element` from `eslint-plugin-next`
4e10665
1 year ago
by kaioduarte
+12.63%
update diagnostic
f8db5d5
1 year ago
by kaioduarte
© 2025 CodSpeed Technology
Home Terms Privacy Docs