We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e680d6 commit d870279Copy full SHA for d870279
crates/oxc_linter/src/rules/import/extensions.rs
@@ -19,7 +19,7 @@ fn extension_should_not_be_included_in_diagnostic(
19
let import_or_export = if is_import { "import" } else { "export" };
20
21
OxcDiagnostic::warn(format!(
22
- "File extension \"{extension}\" should not be included in the {import_or_export} declaration."
+ r#"File extension "{extension}" should not be included in the {import_or_export} declaration."#
23
))
24
.with_help(format!("Remove the file extension from this {import_or_export}."))
25
.with_label(span)
0 commit comments