diff --git a/crates/biome_js_analyze/src/lint/style/use_self_closing_elements.rs b/crates/biome_js_analyze/src/lint/style/use_self_closing_elements.rs
index ed2d6cae211b..7401df9104f3 100644
--- a/crates/biome_js_analyze/src/lint/style/use_self_closing_elements.rs
+++ b/crates/biome_js_analyze/src/lint/style/use_self_closing_elements.rs
@@ -107,8 +107,8 @@ impl Rule for UseSelfClosingElements {
slash_token.push_str(trivia.text());
}
// check if previous `open_element` have a whitespace before `>`
- // this step make sure we could convert
->
- // ->
+ // this step make sure we could convert -> > ->
let prev_token = r_angle_token.prev_token();
let need_extra_whitespace = prev_token
.as_ref()
diff --git a/crates/biome_js_formatter/src/js/bindings/constructor_parameters.rs b/crates/biome_js_formatter/src/js/bindings/constructor_parameters.rs
index 8bf4dbe9e5d1..2705aacc1b8d 100644
--- a/crates/biome_js_formatter/src/js/bindings/constructor_parameters.rs
+++ b/crates/biome_js_formatter/src/js/bindings/constructor_parameters.rs
@@ -16,7 +16,7 @@ impl FormatNodeRule for FormatJsConstructorParameters {
_: &JsConstructorParameters,
_: &mut JsFormatter,
) -> FormatResult<()> {
- // Formatted inside of `FormatJsAnyParameters
+ // Formatted inside of `FormatJsAnyParameters`
Ok(())
}
}
diff --git a/crates/biome_js_formatter/src/js/classes/static_initialization_block_class_member.rs b/crates/biome_js_formatter/src/js/classes/static_initialization_block_class_member.rs
index 21f37eac6f3c..5307088fb6ac 100644
--- a/crates/biome_js_formatter/src/js/classes/static_initialization_block_class_member.rs
+++ b/crates/biome_js_formatter/src/js/classes/static_initialization_block_class_member.rs
@@ -41,7 +41,7 @@ impl FormatNodeRule
_: &JsStaticInitializationBlockClassMember,
_: &mut JsFormatter,
) -> FormatResult<()> {
- // Formatted inside of `fmt_fields
+ // Formatted inside of `fmt_fields`
Ok(())
}
}
diff --git a/crates/biome_js_formatter/src/ts/lists/type_parameter_list.rs b/crates/biome_js_formatter/src/ts/lists/type_parameter_list.rs
index bbd0b2a4e3b5..8db1c79c6f74 100644
--- a/crates/biome_js_formatter/src/ts/lists/type_parameter_list.rs
+++ b/crates/biome_js_formatter/src/ts/lists/type_parameter_list.rs
@@ -20,7 +20,7 @@ impl FormatRule for FormatTsTypeParameterList {
&& !f.options().source_type().variant().is_standard()
&& node.syntax().grand_parent().kind()
== Some(JsSyntaxKind::JS_ARROW_FUNCTION_EXPRESSION)
- // Ignore Type parameter with an `extends`` clause or a default type.
+ // Ignore Type parameter with an `extends` clause or a default type.
&& !node.first().and_then(|param| param.ok())
.is_some_and(|type_parameter| type_parameter.constraint().is_some() || type_parameter.default().is_some())
{