Pattern: Missing use of multi-line ternary operator
Issue: -
Ternary operator has to be reformatted to more lines when the line length exceeds the given limit.
Rule provides the following settings:
lineLengthLimit
(defaults to0
)minExpressionsLength
(defaults tonull
): when the expressions after?
are shorter than this length, the ternary operator does not have to be reformatted.