lint/complexity/prefer-min-max
In the code-quality set. Safe fix.
What it does
Change ternary number compare to max() call
Configuration
[lint.rules]
"complexity/prefer-min-max" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
NumberCompareToMaxFuncCall(rector)