diff --git a/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs b/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs index e9d43e297585..7a18b652118b 100644 --- a/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs +++ b/crates/biome_js_analyze/src/lint/nursery/no_template_curly_in_string.rs @@ -9,9 +9,9 @@ declare_lint_rule! { /// Disallow template literal placeholder syntax in regular strings. /// /// ECMAScript 6 allows programmers to create strings containing variable or expressions using template literals, - /// instead of string concatenation, by writing expressions like ${variable} between two backtick quotes (`). - /// It can be easy to use the wrong quotes when wanting to use template literals, by writing "${variable}", - /// and end up with the literal value "${variable}" instead of a string containing the value of the injected expressions. + /// instead of string concatenation, by writing expressions like `${variable}` between two backtick quotes (`). + /// It can be easy to use the wrong quotes when wanting to use template literals, by writing `"${variable}"`, + /// and end up with the literal value `"${variable}"` instead of a string containing the value of the injected expressions. /// /// ## Examples ///