From dd2e1969eab1212fe477c4c1cb53526a241b2d8c Mon Sep 17 00:00:00 2001 From: Sysix <3897725+Sysix@users.noreply.github.com> Date: Fri, 27 Jun 2025 09:25:56 +0000 Subject: [PATCH] refactor(linter): move `unicorn/no-nested-ternary` to style category (#11928) related #11926 --- crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs b/crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs index 45261e54a9e31..deebd4d81f1a7 100644 --- a/crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs +++ b/crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs @@ -45,7 +45,7 @@ declare_oxc_lint!( /// ``` NoNestedTernary, unicorn, - restriction, + style, conditional_fix );