You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed [#9300](https://github.com/biomejs/biome/issues/9300): Lowercase component member expressions like `<form.Field>` in Svelte and Astro files are now correctly formatted.
Copy file name to clipboardExpand all lines: crates/biome_cli/tests/cases/regression_tests.rs
+46Lines changed: 46 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -69,3 +69,49 @@ fn issue_9180_2() {
69
69
result,
70
70
));
71
71
}
72
+
73
+
/// Regression test for https://github.com/biomejs/biome/issues/9300
74
+
///
75
+
/// This issue affects Tanstack Form users who use `<form.Field>` as their default API.
76
+
/// In Biome 2.4.5, lowercase component member expressions like `<form.Field>` were
77
+
/// incorrectly formatted as `<form .Field>` (with an extra space before the dot),
78
+
/// which breaks the code.
79
+
///
80
+
/// The official Tanstack Form docs https://tanstack.com/form/latest/docs/framework/svelte/quick-start
81
+
///
82
+
/// This test ensures that lowercase component member expressions in Svelte and Astro
83
+
/// files are formatted correctly without adding extra spaces.
0 commit comments