useIdivUse .idiv() instead of math.floor(x / y) for integer division.small-rules/prefer-idivPrefer .idiv() for integer division instead of math.floor(x / y).
useIdivUse .idiv() instead of math.floor(x / y) for integer division.This rule does not accept options.
math.floor(x / y);After auto-fix
x.idiv(y);x.idiv(y);