preferMathMethodUse `math.min()` or `math.max()` instead of this ternary comparison.small-rules/prefer-math-min-maxPrefer math.min() and math.max() over simple clamp-like ternaries.
preferMathMethodUse `math.min()` or `math.max()` instead of this ternary comparison.This rule does not accept options.
height > 50 ? 50 : height;After auto-fix
math.min(height, 50);math.min(height, 50);