Pattern: Use of ?:
Issue: -
Disallows short ternary operator ?:
.
Rule provides the following settings:
fixable
: the rule is fixable by default, however in strict code it makes sense to forbid this weakly typed form of ternary altogether, you can disable fixability with this option.