no-useless-spread Disallow spreads that have no observable effect Spreading an inline literal directly into another literal or wrapping an iterable for an API that already accepts it creates an unnecessary intermediate value. Instead, you SHOULD place the literal entries directly in the list or pass the iterable directly. - Category: suspicious - Level: warning - Fix: automatic - Scope: module Reported function append(output: int32[]): void { output.push(1, ...[2, 3], 4); } Accepted function append(output: int32[]): void { output.push(1, 2, 3, 4); } Prior art - eslint-plugin-unicorn ยท no-useless-spread language/linter/src/rules/suspicious/nouselessspread.rs:8