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 9b930ea commit 6406c27Copy full SHA for 6406c27
1 file changed
crates/oxc_linter/src/rules/typescript/no_extraneous_class.rs
@@ -86,7 +86,9 @@ declare_oxc_lint!(
86
fn empty_class_diagnostic(span: Span, has_decorators: bool) -> OxcDiagnostic {
87
let diagnostic = OxcDiagnostic::warn("Unexpected empty class.").with_label(span);
88
if has_decorators {
89
- diagnostic.with_help(r#"Set "allowWithDecorators": true in your config to allow empty decorated classes"#)
+ diagnostic.with_help(
90
+ r#"Set "allowWithDecorators": true in your config to allow empty decorated classes"#,
91
+ )
92
} else {
93
diagnostic
94
}
0 commit comments