mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
style(linter/react-exhaustive-deps): fix indentation (#8520)
This commit is contained in:
parent
52bd0b1004
commit
3789d2faf9
1 changed files with 3 additions and 3 deletions
|
|
@ -56,9 +56,9 @@ fn unknown_dependencies_diagnostic(hook_name: &str, span: Span) -> OxcDiagnostic
|
|||
|
||||
fn async_effect_diagnostic(span: Span) -> OxcDiagnostic {
|
||||
OxcDiagnostic::warn("Effect callbacks are synchronous to prevent race conditions.")
|
||||
.with_label(span)
|
||||
.with_help("Consider putting the asynchronous code inside a function and calling it from the effect.")
|
||||
.with_error_code_scope(SCOPE)
|
||||
.with_label(span)
|
||||
.with_help("Consider putting the asynchronous code inside a function and calling it from the effect.")
|
||||
.with_error_code_scope(SCOPE)
|
||||
}
|
||||
|
||||
fn missing_dependency_diagnostic(hook_name: &str, deps: &[String], span: Span) -> OxcDiagnostic {
|
||||
|
|
|
|||
Loading…
Reference in a new issue