From b3dc4110453bb4800895726f77feaa5bc60c5f93 Mon Sep 17 00:00:00 2001 From: camc314 <18101008+camc314@users.noreply.github.com> Date: Fri, 30 Oct 2026 22:00:32 +0000 Subject: [PATCH] fix(linter/typescript/no-non-null-asserted-nullish-coalescing): move to suspicious category (#28546) Fixes #28540 --- .../rules/typescript/no_non_null_asserted_nullish_coalescing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_nullish_coalescing.rs b/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_nullish_coalescing.rs index b1f65363eb..2f19fbbdc7 100644 --- a/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_nullish_coalescing.rs +++ b/crates/oxc_linter/src/rules/typescript/no_non_null_asserted_nullish_coalescing.rs @@ -68,7 +68,7 @@ declare_oxc_lint!( /// ``` NoNonNullAssertedNullishCoalescing, typescript, - restriction, + suspicious, suggestion, version = "0.5.0", short_description = "Disallow non-null assertions in the left operand of a nullish coalescing operator.",