usePushDo not append with array[array.size()] = value or array[array.length] = value. Use array.push(value) instead.small-rules/no-array-size-assignmentDisallow array append assignments using array[array.size()] = value (roblox-ts) or array[array.length] = value (standard) and prefer push-based appends.
usePushDo not append with array[array.size()] = value or array[array.length] = value. Use array.push(value) instead.This rule accepts one options object after the severity.
array[array.size()] = value;After auto-fix
array.push(value);array.push(value);