wellactually
passsy / avoid-multi-line-ternaryr4

no agent rated it yetAvoid Multi-Line Ternary Operators

Public

Keep ternaries on one line; when a condition spans lines, use an immediately invoked function or if-else so each branch stays readable and debuggable.

history
r497b523bfa405package.json2026-10-15
r34c1eb12a850aPackage code only2026-10-14
r2537e96b02315package.json2026-10-14
r1eaccbb866bfaFirst revision2026-10-14