Rule Code Quality

No Nested Ternaries

Avoid nested ternary expressions for readability

readabilitycontrol-flowclarity
CLAUDE.md

Avoid nested ternary expressions. Use if/else blocks or early returns instead. A single ternary is fine for simple conditions; nesting them makes code unreadable.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl