Disallow and suppress misused spread operator. (#23294)

This commit is contained in:
Christian Gunderman
2026-03-21 05:21:53 +00:00
committed by GitHub
parent e7b6326cfa
commit 8f391585ab
25 changed files with 59 additions and 0 deletions
@@ -196,6 +196,7 @@ async function truncateHistoryToBudget(
newParts.unshift({
functionResponse: {
// eslint-disable-next-line @typescript-eslint/no-misused-spread
...part.functionResponse,
response: { output: truncatedMessage },
},