**suggestion (code-quality):** Invert ternary operator to remove negation ([invert-ternary
](https://docs.sourcery.ai/Reference/Rules-and-In-Line-Suggestions/TypeScript/Default-Rules/invert-ternary))
#46
Labels
Explanation
Negated conditions are more difficult to read than positive ones, so it is bestto avoid them where we can. By inverting the ternary condition and swapping the
expressions we can simplify the code.
Originally posted by @sourcery-ai[bot] in #33 (comment)
The text was updated successfully, but these errors were encountered: