Skip to content

Commit 3789d2f

Browse files
committed
style(linter/react-exhaustive-deps): fix indentation (#8520)
1 parent 52bd0b1 commit 3789d2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/oxc_linter/src/rules/react/exhaustive_deps.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ fn unknown_dependencies_diagnostic(hook_name: &str, span: Span) -> OxcDiagnostic
5656

5757
fn async_effect_diagnostic(span: Span) -> OxcDiagnostic {
5858
OxcDiagnostic::warn("Effect callbacks are synchronous to prevent race conditions.")
59-
.with_label(span)
60-
.with_help("Consider putting the asynchronous code inside a function and calling it from the effect.")
61-
.with_error_code_scope(SCOPE)
59+
.with_label(span)
60+
.with_help("Consider putting the asynchronous code inside a function and calling it from the effect.")
61+
.with_error_code_scope(SCOPE)
6262
}
6363

6464
fn missing_dependency_diagnostic(hook_name: &str, deps: &[String], span: Span) -> OxcDiagnostic {

0 commit comments

Comments
 (0)