noVariadicSpreadSpreading an array into {{method}}() passes every element as its own stack argument, so a large array throws 'RangeError: Maximum call stack size exceeded'. Iterate the array instead.small-rules/no-variadic-spreadDisallow spreading a potentially unbounded array into a variadic call, because every element becomes a stack-allocated argument.
noVariadicSpreadSpreading an array into {{method}}() passes every element as its own stack argument, so a large array throws 'RangeError: Maximum call stack size exceeded'. Iterate the array instead.This rule does not accept options.
target.push(...source);for (const item of source) target.push(item);