Skip to content

Commit 6406c27

Browse files
[autofix.ci] apply automated fixes
1 parent 9b930ea commit 6406c27

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

crates/oxc_linter/src/rules/typescript/no_extraneous_class.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ declare_oxc_lint!(
8686
fn empty_class_diagnostic(span: Span, has_decorators: bool) -> OxcDiagnostic {
8787
let diagnostic = OxcDiagnostic::warn("Unexpected empty class.").with_label(span);
8888
if has_decorators {
89-
diagnostic.with_help(r#"Set "allowWithDecorators": true in your config to allow empty decorated classes"#)
89+
diagnostic.with_help(
90+
r#"Set "allowWithDecorators": true in your config to allow empty decorated classes"#,
91+
)
9092
} else {
9193
diagnostic
9294
}

0 commit comments

Comments
 (0)