Skip to content

Commit 08e64fd

Browse files
committed
refactor(linter). move unicorn/no-nested-ternary to style category
1 parent 9b19b40 commit 08e64fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/oxc_linter/src/rules/unicorn/no_nested_ternary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ declare_oxc_lint!(
4545
/// ```
4646
NoNestedTernary,
4747
unicorn,
48-
restriction,
48+
style,
4949
conditional_fix
5050
);
5151

0 commit comments

Comments
 (0)