diff --git a/Cargo.lock b/Cargo.lock index 411176f2b..aa25936e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,7 +71,7 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "biome_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_deserialize", @@ -91,7 +91,7 @@ dependencies = [ [[package]] name = "biome_aria" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_aria_metadata", ] @@ -99,7 +99,7 @@ dependencies = [ [[package]] name = "biome_aria_metadata" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -115,7 +115,7 @@ dependencies = [ [[package]] name = "biome_cli" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "anyhow", "biome_analyze", @@ -176,7 +176,7 @@ dependencies = [ [[package]] name = "biome_configuration" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_console", @@ -207,7 +207,7 @@ dependencies = [ [[package]] name = "biome_console" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_markup", "biome_text_size", @@ -221,7 +221,7 @@ dependencies = [ [[package]] name = "biome_control_flow" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_rowan", "rustc-hash 2.1.1", @@ -230,7 +230,7 @@ dependencies = [ [[package]] name = "biome_css_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_console", @@ -253,7 +253,7 @@ dependencies = [ [[package]] name = "biome_css_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_css_syntax", "biome_rowan", @@ -262,7 +262,7 @@ dependencies = [ [[package]] name = "biome_css_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_css_syntax", "biome_diagnostics", @@ -275,7 +275,7 @@ dependencies = [ [[package]] name = "biome_css_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_css_factory", @@ -290,7 +290,7 @@ dependencies = [ [[package]] name = "biome_css_semantic" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_css_syntax", "biome_formatter", @@ -301,7 +301,7 @@ dependencies = [ [[package]] name = "biome_css_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_rowan", "biome_string_case", @@ -313,7 +313,7 @@ dependencies = [ [[package]] name = "biome_deserialize" version = "0.6.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -331,7 +331,7 @@ dependencies = [ [[package]] name = "biome_deserialize_macros" version = "0.6.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_string_case", "proc-macro-error2", @@ -343,7 +343,7 @@ dependencies = [ [[package]] name = "biome_diagnostics" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "backtrace", "biome_console", @@ -366,7 +366,7 @@ dependencies = [ [[package]] name = "biome_diagnostics_categories" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "quote", "schemars", @@ -377,7 +377,7 @@ dependencies = [ [[package]] name = "biome_diagnostics_macros" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "proc-macro-error2", "proc-macro2", @@ -388,7 +388,7 @@ dependencies = [ [[package]] name = "biome_flags" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", ] @@ -396,7 +396,7 @@ dependencies = [ [[package]] name = "biome_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_deserialize", @@ -417,7 +417,7 @@ dependencies = [ [[package]] name = "biome_fs" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_diagnostics", "camino", @@ -438,7 +438,7 @@ dependencies = [ [[package]] name = "biome_glob" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -451,7 +451,7 @@ dependencies = [ [[package]] name = "biome_graphql_analyze" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_console", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "biome_graphql_factory" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_graphql_syntax", "biome_rowan", @@ -481,7 +481,7 @@ dependencies = [ [[package]] name = "biome_graphql_formatter" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_diagnostics", "biome_formatter", @@ -493,7 +493,7 @@ dependencies = [ [[package]] name = "biome_graphql_parser" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -509,7 +509,7 @@ dependencies = [ [[package]] name = "biome_graphql_syntax" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_rowan", "biome_string_case", @@ -521,7 +521,7 @@ dependencies = [ [[package]] name = "biome_grit_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_grit_syntax", "biome_rowan", @@ -530,7 +530,7 @@ dependencies = [ [[package]] name = "biome_grit_formatter" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_formatter", "biome_grit_syntax", @@ -540,7 +540,7 @@ dependencies = [ [[package]] name = "biome_grit_parser" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -558,7 +558,7 @@ dependencies = [ [[package]] name = "biome_grit_patterns" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_console", @@ -587,7 +587,7 @@ dependencies = [ [[package]] name = "biome_grit_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_rowan", "biome_string_case", @@ -599,7 +599,7 @@ dependencies = [ [[package]] name = "biome_html_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_aria_metadata", @@ -619,7 +619,7 @@ dependencies = [ [[package]] name = "biome_html_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_html_syntax", "biome_rowan", @@ -628,7 +628,7 @@ dependencies = [ [[package]] name = "biome_html_formatter" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -645,7 +645,7 @@ dependencies = [ [[package]] name = "biome_html_parser" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -660,7 +660,7 @@ dependencies = [ [[package]] name = "biome_html_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_rowan", "biome_string_case", @@ -672,7 +672,7 @@ dependencies = [ [[package]] name = "biome_js_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_aria", @@ -713,7 +713,7 @@ dependencies = [ [[package]] name = "biome_js_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_js_syntax", "biome_rowan", @@ -722,7 +722,7 @@ dependencies = [ [[package]] name = "biome_js_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -745,7 +745,7 @@ dependencies = [ [[package]] name = "biome_js_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -768,7 +768,7 @@ dependencies = [ [[package]] name = "biome_js_semantic" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_formatter", "biome_js_syntax", @@ -781,7 +781,7 @@ dependencies = [ [[package]] name = "biome_js_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_aria", "biome_aria_metadata", @@ -796,7 +796,7 @@ dependencies = [ [[package]] name = "biome_js_type_info" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_formatter", "biome_js_syntax", @@ -812,7 +812,7 @@ dependencies = [ [[package]] name = "biome_js_type_info_macros" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "proc-macro-error2", "proc-macro2", @@ -823,7 +823,7 @@ dependencies = [ [[package]] name = "biome_jsdoc_comment" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_formatter", "biome_js_parser", @@ -835,7 +835,7 @@ dependencies = [ [[package]] name = "biome_json_analyze" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_configuration", @@ -854,7 +854,7 @@ dependencies = [ [[package]] name = "biome_json_factory" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_json_syntax", "biome_rowan", @@ -863,7 +863,7 @@ dependencies = [ [[package]] name = "biome_json_formatter" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -880,7 +880,7 @@ dependencies = [ [[package]] name = "biome_json_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -896,7 +896,7 @@ dependencies = [ [[package]] name = "biome_json_syntax" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_rowan", "biome_string_case", @@ -909,7 +909,7 @@ dependencies = [ [[package]] name = "biome_json_value" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_deserialize", "biome_deserialize_macros", @@ -923,7 +923,7 @@ dependencies = [ [[package]] name = "biome_line_index" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_text_size", "rustc-hash 2.1.1", @@ -932,7 +932,7 @@ dependencies = [ [[package]] name = "biome_lsp" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "anyhow", "biome_analyze", @@ -963,7 +963,7 @@ dependencies = [ [[package]] name = "biome_lsp_converters" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "anyhow", "biome_line_index", @@ -975,7 +975,7 @@ dependencies = [ [[package]] name = "biome_markup" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "proc-macro-error2", "proc-macro2", @@ -985,7 +985,7 @@ dependencies = [ [[package]] name = "biome_migrate" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_configuration", @@ -1003,7 +1003,7 @@ dependencies = [ [[package]] name = "biome_module_graph" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_css_semantic", @@ -1035,7 +1035,7 @@ dependencies = [ [[package]] name = "biome_package" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_deserialize", @@ -1058,7 +1058,7 @@ dependencies = [ [[package]] name = "biome_parser" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -1072,7 +1072,7 @@ dependencies = [ [[package]] name = "biome_plugin_loader" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_console", @@ -1100,7 +1100,7 @@ dependencies = [ [[package]] name = "biome_project_layout" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_package", "biome_parser", @@ -1113,7 +1113,7 @@ dependencies = [ [[package]] name = "biome_resolver" version = "0.1.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -1127,7 +1127,7 @@ dependencies = [ [[package]] name = "biome_rowan" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_text_edit", "biome_text_size", @@ -1140,7 +1140,7 @@ dependencies = [ [[package]] name = "biome_rule_options" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_deserialize", @@ -1164,7 +1164,7 @@ dependencies = [ [[package]] name = "biome_ruledoc_utils" version = "0.0.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "anyhow", "biome_analyze", @@ -1183,7 +1183,7 @@ dependencies = [ [[package]] name = "biome_service" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_analyze", "biome_configuration", @@ -1256,7 +1256,7 @@ dependencies = [ [[package]] name = "biome_string_case" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_rowan", ] @@ -1264,7 +1264,7 @@ dependencies = [ [[package]] name = "biome_suppression" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_console", "biome_diagnostics", @@ -1274,7 +1274,7 @@ dependencies = [ [[package]] name = "biome_test_utils" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "ansi_rgb", "biome_analyze", @@ -1308,7 +1308,7 @@ dependencies = [ [[package]] name = "biome_text_edit" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "biome_text_size", "schemars", @@ -1319,7 +1319,7 @@ dependencies = [ [[package]] name = "biome_text_size" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "schemars", "serde", @@ -1328,12 +1328,12 @@ dependencies = [ [[package]] name = "biome_ungrammar" version = "0.3.1" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" [[package]] name = "biome_unicode_table" version = "0.5.7" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" [[package]] name = "bitflags" @@ -4000,7 +4000,7 @@ dependencies = [ [[package]] name = "xtask_codegen" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "anyhow", "biome_analyze", @@ -4028,7 +4028,7 @@ dependencies = [ [[package]] name = "xtask_glue" version = "0.0.0" -source = "git+https://github.com/biomejs/biome.git?rev=1dc8dc23e06af42af00330e2949db48e987909db#1dc8dc23e06af42af00330e2949db48e987909db" +source = "git+https://github.com/biomejs/biome.git?rev=adcce82eaede7d2db2ef95f27a6109b2475595b5#adcce82eaede7d2db2ef95f27a6109b2475595b5" dependencies = [ "anyhow", ] diff --git a/Cargo.toml b/Cargo.toml index a5e254d6f..7152d0d62 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,48 +16,48 @@ path = "codegen/src/lib.rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1.0.100" -biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db", features = [ +biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5", features = [ "schema", ] } -biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db", features = [ +biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5", features = [ "schema", ] } -biome_console = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_css_semantic = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_deserialize = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_formatter = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_fs = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_html_analyze = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_html_parser = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_html_syntax = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_json_factory = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_module_graph = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_project_layout = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_ruledoc_utils = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_service = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_test_utils = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } -biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db" } +biome_console = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_css_semantic = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_deserialize = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_formatter = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_fs = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_html_analyze = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_html_parser = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_html_syntax = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_json_factory = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_module_graph = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_project_layout = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_ruledoc_utils = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_service = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_test_utils = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } +biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5" } bpaf = { version = "0.9.20", features = ["docgen"] } -xtask_codegen = { git = "https://github.com/biomejs/biome.git", rev = "1dc8dc23e06af42af00330e2949db48e987909db", features = [ +xtask_codegen = { git = "https://github.com/biomejs/biome.git", rev = "adcce82eaede7d2db2ef95f27a6109b2475595b5", features = [ "schema", ] } # Needed to fix some weird dependency diff --git a/codegen/src/domains.rs b/codegen/src/domains.rs index 3b5417890..749597ebd 100644 --- a/codegen/src/domains.rs +++ b/codegen/src/domains.rs @@ -99,7 +99,7 @@ impl DocDomains { writeln!(buffer, "## {name}")?; writeln!( buffer, - "This domain contains rules that perform project-level analysis. This includes our module graph for dependency resolution, as well as type information. When enabling rules that belong to this domain, Biome will scan the entire project. The scanning phase will have a performance impact on the linting process. See the documentation on our [scanner](/internals/architecture/#scanner) to learn more about the scanner." + "This domain contains rules that perform project-level analysis. This includes our module graph for dependency resolution. When enabling rules that belong to this domain, Biome will scan the entire project. The scanning phase will have a performance impact on the linting process. See the documentation on our [scanner](/internals/architecture/#scanner) to learn more about the scanner." )?; } RuleDomain::Vue => { @@ -123,6 +123,13 @@ impl DocDomains { "Use this domain inside Turborepo projects. This domain enables rules that are specific to Turborepo projects." )?; } + RuleDomain::Types => { + writeln!(buffer, "## {name}")?; + writeln!( + buffer, + "This domain contains rules that perform project-level analysis. This includes our module graph for dependency resolution. When enabling rules that belong to this domain, Biome will scan the entire project, *and it will enable the inference engine to resolve and flat types*. The scanning phase will have a performance impact on the linting process. See the documentation on our [scanner](/internals/architecture/#scanner) to learn more about the scanner." + )?; + } #[allow(unreachable_patterns)] domain => { eprintln!("Undocumented domain: {domain:?}"); diff --git a/codegen/src/lintdoc.rs b/codegen/src/lintdoc.rs index 19dd079cc..3c2b8117b 100644 --- a/codegen/src/lintdoc.rs +++ b/codegen/src/lintdoc.rs @@ -730,12 +730,20 @@ fn generate_rule_content(rule_content: RuleContent) -> Result<(Vec, String, } let is_project_domain = meta.domains.iter().find(|d| **d == RuleDomain::Project); + let is_types_domain = meta.domains.iter().find(|d| **d == RuleDomain::Types); - if is_project_domain.is_some() { + if is_types_domain.is_some() { writeln!(content, ":::note")?; writeln!( content, - "This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project)" + "This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types)" + )?; + writeln!(content, ":::")?; + } else if is_project_domain.is_some() { + writeln!(content, ":::note")?; + writeln!( + content, + "This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project)" )?; writeln!(content, ":::")?; } @@ -1843,7 +1851,7 @@ fn print_diagnostics_or_actions( }; let options = AnalyzerOptions::default().with_file_path(test.file_path()); - biome_html_analyze::analyze(&root, filter, &options, |signal| { + biome_html_analyze::analyze(&root, filter, &options, file_source, |signal| { match to_print_kind { ToPrintKind::Diagnostics => { if let Some(mut diag) = signal.diagnostic() { diff --git a/package.json b/package.json index 426aa0fe7..cbdd66df2 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "@astrojs/starlight": "0.37.1", "@biomejs/biome": "2.3.10", "@biomejs/version-utils": "0.4.0", - "@biomejs/wasm-web": "https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@1dc8dc2", + "@biomejs/wasm-web": "https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@adcce82", "@codemirror/lang-css": "6.3.1", "@codemirror/lang-html": "6.4.11", "@codemirror/lang-javascript": "6.2.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e618bb68b..be946a81e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -40,8 +40,8 @@ importers: specifier: ^0.4.0 version: 0.4.0 '@biomejs/wasm-web': - specifier: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@1dc8dc2 - version: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@1dc8dc2 + specifier: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@adcce82 + version: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@adcce82 '@codemirror/lang-css': specifier: 6.3.1 version: 6.3.1(@codemirror/view@6.39.7) @@ -458,9 +458,9 @@ packages: '@biomejs/version-utils@0.4.0': resolution: {integrity: sha512-jboDhjZY8/bAPl2kgvjrbbyXyM6uimPsasY3TvFhSpPaNorij0UZROi/NjDQqQeZFSaIK3ieiRZXWwoBZh6rQQ==} - '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@1dc8dc2': - resolution: {integrity: sha512-6IGDgD84qg+m5TAT4h43X0V0VqVOft+9QN6EzCh77OxcZjtsQm0i58HvGUJMmfUJNGfdy2QhUIAtz42f3+TfNw==, tarball: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@1dc8dc2} - version: 0.0.0-rev.1dc8dc23e06af42af00330e2949db48e987909db + '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@adcce82': + resolution: {integrity: sha512-stm9CjTearfLtpl1tn5YGJASpX1vUX8Dph2FesEevya+wF/LFAeq2+RcEWRLhhckEN8ke1NyYEoLGfz2qQXRTA==, tarball: https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@adcce82} + version: 0.0.0-rev.adcce82eaede7d2db2ef95f27a6109b2475595b5 '@braintree/sanitize-url@7.1.1': resolution: {integrity: sha512-i1L7noDNxtFyL5DmZafWy1wRVhGehQmzZaz1HiN5e7iylJMSZR7ekOV7NsIqa5qBldlLrsKv4HbgFUVlQrz8Mw==} @@ -6506,7 +6506,7 @@ snapshots: undici: 6.21.3 yaml: 2.8.0 - '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@1dc8dc2': {} + '@biomejs/wasm-web@https://pkg.pr.new/biomejs/biome/@biomejs/wasm-web@adcce82': {} '@braintree/sanitize-url@7.1.1': {} diff --git a/src/content/docs/linter/domains.mdx b/src/content/docs/linter/domains.mdx index dfeb28b8c..832c87266 100644 --- a/src/content/docs/linter/domains.mdx +++ b/src/content/docs/linter/domains.mdx @@ -54,7 +54,7 @@ Rules that belong to the domain: - [noDocumentImportInPage](/linter/rules/no-document-import-in-page) (recommended) - [noHeadImportInDocument](/linter/rules/no-head-import-in-document) (recommended) ## Project -This domain contains rules that perform project-level analysis. This includes our module graph for dependency resolution, as well as type information. When enabling rules that belong to this domain, Biome will scan the entire project. The scanning phase will have a performance impact on the linting process. See the documentation on our [scanner](/internals/architecture/#scanner) to learn more about the scanner. +This domain contains rules that perform project-level analysis. This includes our module graph for dependency resolution. When enabling rules that belong to this domain, Biome will scan the entire project. The scanning phase will have a performance impact on the linting process. See the documentation on our [scanner](/internals/architecture/#scanner) to learn more about the scanner. ### Project activation Enable the **recommended, non-nursery** rules of the domain: ```json title="biome.json" ins={3-5} @@ -93,16 +93,8 @@ Rules that belong to the domain: - [useImportExtensions](/linter/rules/use-import-extensions) - [useJsonImportAttributes](/linter/rules/use-json-import-attributes) - [noDeprecatedImports](/linter/rules/no-deprecated-imports) [(nursery)](/linter/#nursery) -- [noFloatingPromises](/linter/rules/no-floating-promises) [(nursery)](/linter/#nursery) - [noImportCycles](/linter/rules/no-import-cycles) [(nursery)](/linter/#nursery) -- [noMisusedPromises](/linter/rules/no-misused-promises) [(nursery)](/linter/#nursery) -- [noUnnecessaryConditions](/linter/rules/no-unnecessary-conditions) [(nursery)](/linter/#nursery) - [noUnresolvedImports](/linter/rules/no-unresolved-imports) [(nursery)](/linter/#nursery) -- [useArraySortCompare](/linter/rules/use-array-sort-compare) [(nursery)](/linter/#nursery) -- [useAwaitThenable](/linter/rules/use-await-thenable) [(nursery)](/linter/#nursery) -- [useExhaustiveSwitchCases](/linter/rules/use-exhaustive-switch-cases) [(nursery)](/linter/#nursery) -- [useFind](/linter/rules/use-find) [(nursery)](/linter/#nursery) -- [useRegexpExec](/linter/rules/use-regexp-exec) [(nursery)](/linter/#nursery) ## Qwik Use this domain inside Qwik projects. This domain enables rules that are specific to Qwik projects. ### Qwik activation @@ -354,6 +346,53 @@ Enabled when the following dependencies are declared: ### Turborepo rules Rules that belong to the domain: - [noUndeclaredEnvVars](/linter/rules/no-undeclared-env-vars) [(nursery)](/linter/#nursery) +## Types +This domain contains rules that perform project-level analysis. This includes our module graph for dependency resolution. When enabling rules that belong to this domain, Biome will scan the entire project, *and it will enable the inference engine to resolve and flat types*. The scanning phase will have a performance impact on the linting process. See the documentation on our [scanner](/internals/architecture/#scanner) to learn more about the scanner. +### Types activation +Enable the **recommended, non-nursery** rules of the domain: +```json title="biome.json" ins={3-5} +{ + "linter": { + "domains": { + "types": "recommended" + } + } +} +``` + +:::note[No recommended rules] +Since all rules in this domain are nursery rules, no rules will be activated when using the "recommended" setting. Use "all" to enable all nursery rules in this domain. +::: +Enabled the **all** rules of the domain: +```json title="biome.json" ins={3-5} +{ + "linter": { + "domains": { + "types": "all" + } + } +} +``` +**Disable** all rules of the domain: +```json title="biome.json" ins={3-5} +{ + "linter": { + "domains": { + "types": "none" + } + } +} +``` +### Types rules +Rules that belong to the domain: +- [noFloatingPromises](/linter/rules/no-floating-promises) [(nursery)](/linter/#nursery) +- [noMisusedPromises](/linter/rules/no-misused-promises) [(nursery)](/linter/#nursery) +- [noUnnecessaryConditions](/linter/rules/no-unnecessary-conditions) [(nursery)](/linter/#nursery) +- [useArraySortCompare](/linter/rules/use-array-sort-compare) [(nursery)](/linter/#nursery) +- [useAwaitThenable](/linter/rules/use-await-thenable) [(nursery)](/linter/#nursery) +- [useExhaustiveSwitchCases](/linter/rules/use-exhaustive-switch-cases) [(nursery)](/linter/#nursery) +- [useFind](/linter/rules/use-find) [(nursery)](/linter/#nursery) +- [useRegexpExec](/linter/rules/use-regexp-exec) [(nursery)](/linter/#nursery) ## Vue Use this domain inside Vue projects. This domain enables rules that are specific to Vue projects. ### Vue activation diff --git a/src/content/docs/linter/html/rules.mdx b/src/content/docs/linter/html/rules.mdx index 96dce3b65..8f5963da9 100644 --- a/src/content/docs/linter/html/rules.mdx +++ b/src/content/docs/linter/html/rules.mdx @@ -25,6 +25,7 @@ Below the list of rules supported by Biome, divided by group. Here's a legend of | [noHeaderScope](/linter/rules/no-header-scope) | The scope prop should be used only on `` elements. | | | [noPositiveTabindex](/linter/rules/no-positive-tabindex) | Prevent the usage of positive integers on `tabindex` attribute. | | | [noSvgWithoutTitle](/linter/rules/no-svg-without-title) | Enforces the usage of the `title` element for the `svg` element. | | +| [useAltText](/linter/rules/use-alt-text) | Enforce that all elements that require alternative text have meaningful information to relay back to the end user. | | | [useAriaPropsForRole](/linter/rules/use-aria-props-for-role) | Enforce that elements with ARIA roles must have all required ARIA attributes for that role. | | | [useButtonType](/linter/rules/use-button-type) | Enforces the usage and validity of the attribute `type` for the element `button` | | | [useHtmlLang](/linter/rules/use-html-lang) | Enforce that `html` element has `lang` attribute. | | @@ -62,6 +63,7 @@ Below the list of rules supported by Biome, divided by group. Here's a legend of - [noHeaderScope](/linter/rules/no-header-scope) (Severity: [error](/reference/diagnostics#error)) - [noPositiveTabindex](/linter/rules/no-positive-tabindex) (Severity: [error](/reference/diagnostics#error)) - [noSvgWithoutTitle](/linter/rules/no-svg-without-title) (Severity: [error](/reference/diagnostics#error)) +- [useAltText](/linter/rules/use-alt-text) (Severity: [error](/reference/diagnostics#error)) - [useAriaPropsForRole](/linter/rules/use-aria-props-for-role) (Severity: [error](/reference/diagnostics#error)) - [useButtonType](/linter/rules/use-button-type) (Severity: [error](/reference/diagnostics#error)) - [useHtmlLang](/linter/rules/use-html-lang) (Severity: [error](/reference/diagnostics#error)) diff --git a/src/content/docs/linter/rules/no-deprecated-imports.mdx b/src/content/docs/linter/rules/no-deprecated-imports.mdx index f15715266..96e87634a 100644 --- a/src/content/docs/linter/rules/no-deprecated-imports.mdx +++ b/src/content/docs/linter/rules/no-deprecated-imports.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project) ::: ## Summary - Rule available since: `v2.2.5` diff --git a/src/content/docs/linter/rules/no-floating-promises.mdx b/src/content/docs/linter/rules/no-floating-promises.mdx index a0dc32b9b..f94f6d82d 100644 --- a/src/content/docs/linter/rules/no-floating-promises.mdx +++ b/src/content/docs/linter/rules/no-floating-promises.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.0.0` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule has an [**unsafe**](/linter/#unsafe-fixes) fix. - The default severity of this rule is [**information**](/reference/diagnostics#information). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Same as [`@typescript-eslint/no-floating-promises`](https://typescript-eslint.io/rules/no-floating-promises) diff --git a/src/content/docs/linter/rules/no-import-cycles.mdx b/src/content/docs/linter/rules/no-import-cycles.mdx index bfd1095df..673735d26 100644 --- a/src/content/docs/linter/rules/no-import-cycles.mdx +++ b/src/content/docs/linter/rules/no-import-cycles.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project) ::: ## Summary - Rule available since: `v2.0.0` diff --git a/src/content/docs/linter/rules/no-misused-promises.mdx b/src/content/docs/linter/rules/no-misused-promises.mdx index 929f54489..dc008e19c 100644 --- a/src/content/docs/linter/rules/no-misused-promises.mdx +++ b/src/content/docs/linter/rules/no-misused-promises.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.1.0` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule has an [**unsafe**](/linter/#unsafe-fixes) fix. - The default severity of this rule is [**information**](/reference/diagnostics#information). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Same as [`@typescript-eslint/no-misused-promises`](https://typescript-eslint.io/rules/no-misused-promises) diff --git a/src/content/docs/linter/rules/no-private-imports.mdx b/src/content/docs/linter/rules/no-private-imports.mdx index 606248f1f..880c1c7c6 100644 --- a/src/content/docs/linter/rules/no-private-imports.mdx +++ b/src/content/docs/linter/rules/no-private-imports.mdx @@ -10,7 +10,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project) ::: ## Summary - Rule available since: `v2.0.0` diff --git a/src/content/docs/linter/rules/no-undeclared-dependencies.mdx b/src/content/docs/linter/rules/no-undeclared-dependencies.mdx index 7e99404a7..3ee4f9251 100644 --- a/src/content/docs/linter/rules/no-undeclared-dependencies.mdx +++ b/src/content/docs/linter/rules/no-undeclared-dependencies.mdx @@ -10,7 +10,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project) ::: ## Summary - Rule available since: `v1.6.0` diff --git a/src/content/docs/linter/rules/no-unnecessary-conditions.mdx b/src/content/docs/linter/rules/no-unnecessary-conditions.mdx index 590d3b693..3395078a0 100644 --- a/src/content/docs/linter/rules/no-unnecessary-conditions.mdx +++ b/src/content/docs/linter/rules/no-unnecessary-conditions.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.1.4` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule doesn't have a fix. - The default severity of this rule is [**warning**](/reference/diagnostics#warning). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Inspired from [`@typescript-eslint/no-unnecessary-condition`](https://typescript-eslint.io/rules/no-unnecessary-condition) diff --git a/src/content/docs/linter/rules/no-unresolved-imports.mdx b/src/content/docs/linter/rules/no-unresolved-imports.mdx index 242c35b3c..20dc36e19 100644 --- a/src/content/docs/linter/rules/no-unresolved-imports.mdx +++ b/src/content/docs/linter/rules/no-unresolved-imports.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project) ::: ## Summary - Rule available since: `v2.0.0` diff --git a/src/content/docs/linter/rules/use-alt-text.mdx b/src/content/docs/linter/rules/use-alt-text.mdx index 272a48942..ccdaf50d5 100644 --- a/src/content/docs/linter/rules/use-alt-text.mdx +++ b/src/content/docs/linter/rules/use-alt-text.mdx @@ -83,6 +83,118 @@ By default, this rule checks for alternative text on the following elements: ` + +:::note +This rule has been implemented but not released yet. It will be available in the next release. +::: +## Summary +- Diagnostic Category: [`lint/a11y/useAltText`](/reference/diagnostics#diagnostic-category) +- This rule is **recommended**, meaning it is enabled by default. +- This rule doesn't have a fix. +- The default severity of this rule is [**error**](/reference/diagnostics#error). +- Sources: + - Same as [`jsx-a11y/alt-text`](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/alt-text.md) + +## How to configure +```json title="biome.json" +{ + "linter": { + "rules": { + "a11y": { + "useAltText": "error" + } + } + } +} + +``` +## Description +Enforce that all elements that require alternative text have meaningful information to relay back to the end user. + +This is a critical component of accessibility for screen reader users in order for them +to understand the content's purpose on the page. +By default, this rule checks for alternative text on the following elements: +``, ``, ``, and ``. + +:::note +In `.html` files, this rule matches element names case-insensitively (e.g., ``, ``). + +In component-based frameworks (Vue, Svelte, Astro), only lowercase element names are checked. +PascalCase variants like `` are assumed to be custom components and are ignored. +::: + +## Examples + +### Invalid + +```html + +``` + +
code-block.html:1:1 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Provide a text alternative through the alt, aria-label, or aria-labelledby attribute.

> 1 │ <img src="image.png" />
^^^^^^^^^^^^^^^^^^^^^^^
2 │

Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page.

If the content is decorative, redundant, or obscured, consider hiding it from assistive technologies with the aria-hidden attribute.

+ +```html + +``` + +
code-block.html:1:1 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Provide a text alternative through the alt, aria-label, or aria-labelledby attribute.

> 1 │ <input type="image" src="image.png" />
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 │

Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page.

If the content is decorative, redundant, or obscured, consider hiding it from assistive technologies with the aria-hidden attribute.

+ +```html + +``` + +
code-block.html:1:1 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Provide a text alternative through the alt, aria-label, or aria-labelledby attribute.

> 1 │ <area href="foo" />
^^^^^^^^^^^^^^^^^^^
2 │

Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page.

If the content is decorative, redundant, or obscured, consider hiding it from assistive technologies with the aria-hidden attribute.

+ +```html + +``` + +
code-block.html:1:1 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Provide a text alternative through the title, aria-label, or aria-labelledby attribute.

> 1 │ <object data="foo"></object>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 │

Meaningful alternative text on elements helps users relying on screen readers to understand content's purpose within a page.

If the content is decorative, redundant, or obscured, consider hiding it from assistive technologies with the aria-hidden attribute.

+ +### Valid + +```html +A beautiful landscape +``` + +```html + +``` + +```html + +``` + +```html + +``` + +```html + +``` + +```html + + +``` + +```html + +``` + +## Accessibility guidelines + +- [WCAG 1.1.1](https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html) + +## Related links + +- [Disable a rule](/linter/#disable-a-rule) +- [Configure the code fix](/linter#configure-the-code-fix) +- [Rule options](/linter/#rule-options) +- [Source Code](https://github.com/biomejs/biome/blob/main/crates/biome_html_analyze/src/lint/a11y/use_alt_text.rs) +- [Test Cases](https://github.com/biomejs/biome/blob/main/crates/biome_html_analyze/tests/specs/a11y/useAltText) + diff --git a/src/content/docs/linter/rules/use-array-sort-compare.mdx b/src/content/docs/linter/rules/use-array-sort-compare.mdx index 5fff5883a..22c611d97 100644 --- a/src/content/docs/linter/rules/use-array-sort-compare.mdx +++ b/src/content/docs/linter/rules/use-array-sort-compare.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.3.5` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule doesn't have a fix. - The default severity of this rule is [**information**](/reference/diagnostics#information). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Same as [`@typescript-eslint/require-array-sort-compare`](https://typescript-eslint.io/rules/require-array-sort-compare) diff --git a/src/content/docs/linter/rules/use-await-thenable.mdx b/src/content/docs/linter/rules/use-await-thenable.mdx index 72c774a4b..09ddf1e3b 100644 --- a/src/content/docs/linter/rules/use-await-thenable.mdx +++ b/src/content/docs/linter/rules/use-await-thenable.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.3.9` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule doesn't have a fix. - The default severity of this rule is [**information**](/reference/diagnostics#information). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Inspired from [`@typescript-eslint/use-await-thenable`](https://typescript-eslint.io/rules/use-await-thenable) diff --git a/src/content/docs/linter/rules/use-exhaustive-switch-cases.mdx b/src/content/docs/linter/rules/use-exhaustive-switch-cases.mdx index fc1ccdf7d..f83e735f5 100644 --- a/src/content/docs/linter/rules/use-exhaustive-switch-cases.mdx +++ b/src/content/docs/linter/rules/use-exhaustive-switch-cases.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.0.0` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule has an [**unsafe**](/linter/#unsafe-fixes) fix. - The default severity of this rule is [**information**](/reference/diagnostics#information). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Same as [`@typescript-eslint/switch-exhaustiveness-check`](https://typescript-eslint.io/rules/switch-exhaustiveness-check) diff --git a/src/content/docs/linter/rules/use-find.mdx b/src/content/docs/linter/rules/use-find.mdx index c3220b5b4..4fce5be16 100644 --- a/src/content/docs/linter/rules/use-find.mdx +++ b/src/content/docs/linter/rules/use-find.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.3.6` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule doesn't have a fix. - The default severity of this rule is [**information**](/reference/diagnostics#information). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Same as [`@typescript-eslint/prefer-find`](https://typescript-eslint.io/rules/prefer-find) diff --git a/src/content/docs/linter/rules/use-import-extensions.mdx b/src/content/docs/linter/rules/use-import-extensions.mdx index 9b0793b17..130c61aeb 100644 --- a/src/content/docs/linter/rules/use-import-extensions.mdx +++ b/src/content/docs/linter/rules/use-import-extensions.mdx @@ -10,7 +10,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project) ::: ## Summary - Rule available since: `v1.8.0` diff --git a/src/content/docs/linter/rules/use-iterable-callback-return.mdx b/src/content/docs/linter/rules/use-iterable-callback-return.mdx index 15fed1cf7..c33d7db5f 100644 --- a/src/content/docs/linter/rules/use-iterable-callback-return.mdx +++ b/src/content/docs/linter/rules/use-iterable-callback-return.mdx @@ -75,11 +75,17 @@ A return value is disallowed in the method `forEach`. ```js [].forEach(() => { - return 1; // Should not return a value + // No return value, which is correct +}); +``` + +```js +[].filter(() => { + // Missing required return value }); ``` -
code-block.js:1:4 lint/suspicious/useIterableCallbackReturn ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This callback passed to forEach() iterable method should not return a value.

> 1 │ [].forEach(() => {
^^^^^^^
2 │ return 1; // Should not return a value
3 │ });

Either remove this return or remove the returned value.

> 1 │ [].forEach(() => {

> 2 │ return 1; // Should not return a value
^^^^^^^
3 │ });
4 │

+
code-block.js:1:4 lint/suspicious/useIterableCallbackReturn ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This callback passed to filter() iterable method should always return a value.

> 1 │ [].filter(() => {
^^^^^^
2 │ // Missing required return value
3 │ });

Add a return with a value to this callback.

### Valid @@ -90,15 +96,46 @@ A return value is disallowed in the method `forEach`. ``` ```js -[].forEach(() => { - // No return value, which is correct -}); +[].forEach(() => void null); // Void return value, which doesn't trigger the rule +``` + +## Options + +### `checkForEach` + +**Since \`v2.4.0** + +Default: `true` + +When set to `false`, the rule will skip `forEach` callbacks that return a value. + +### Examples + +```json title='biome.json' +{ + "linter": { + "rules": { + "suspicious": { + "useIterableCallbackReturn": { + "options": { + "checkForEach": false + } + } + } + } + } +} + ``` ```js -[].forEach(() => void null); // Void return value, which doesn't trigger the rule +[1, 2, 3].forEach((el) => { + return el * 2; +}); ``` +When `checkForEach` is `false` (default), the above code will not trigger any diagnostic. + ## Related links - [Disable a rule](/linter/#disable-a-rule) diff --git a/src/content/docs/linter/rules/use-json-import-attributes.mdx b/src/content/docs/linter/rules/use-json-import-attributes.mdx index 11633000c..69d3e2dc1 100644 --- a/src/content/docs/linter/rules/use-json-import-attributes.mdx +++ b/src/content/docs/linter/rules/use-json-import-attributes.mdx @@ -10,7 +10,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the project domain. This means that its activation will activate the Biome Scanner to scan the files of your project. Read more about it in the [documentation page](/linter/domains#project) ::: ## Summary - Rule available since: `v2.0.0` diff --git a/src/content/docs/linter/rules/use-regexp-exec.mdx b/src/content/docs/linter/rules/use-regexp-exec.mdx index 434eacaa9..7fcd76557 100644 --- a/src/content/docs/linter/rules/use-regexp-exec.mdx +++ b/src/content/docs/linter/rules/use-regexp-exec.mdx @@ -13,7 +13,7 @@ import { Tabs, TabItem } from '@astrojs/starlight/components'; This rule is part of the [nursery](/linter/#nursery) group. This means that it is experimental and the behavior can change at any time. ::: :::note -This rule belongs to the project domain. This means that its activation will activate the Biome Scanner, which might affect the performance. Read more about it in the [documentation page](/linter/domains#project) +This rule belongs to the types domain. This means that its activation will activate the Biome Scanner to scan the files of your project, and enable the type inference engine. Read more about it in the [documentation page](/linter/domains#types) ::: ## Summary - Rule available since: `v2.3.9` @@ -21,7 +21,7 @@ This rule belongs to the project domain. This means that its activation will act - This rule doesn't have a fix. - The default severity of this rule is [**information**](/reference/diagnostics#information). - This rule belongs to the following domains: - - [`project`](/linter/domains#project) + - [`types`](/linter/domains#types) - Sources: - Same as [`@typescript-eslint/prefer-regexp-exec`](https://typescript-eslint.io/rules/prefer-regexp-exec) - Same as [`regexp/prefer-regexp-exec`](https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-exec.html)