chore(lint): enable additional cleanup rules

This commit is contained in:
Peter Steinberger
2026-04-18 20:00:26 +01:00
parent 4fa961d4f1
commit 155162a8cd
22 changed files with 39 additions and 42 deletions

View File

@@ -279,7 +279,7 @@ export function createAcpReplyProjector(params: {
if (!(settings.deliveryMode === "final_only" && force)) {
return;
}
for (const entry of pendingToolDeliveries.splice(0, pendingToolDeliveries.length)) {
for (const entry of pendingToolDeliveries.splice(0)) {
await params.deliver("tool", entry.payload, entry.meta);
}
};

View File

@@ -219,7 +219,7 @@ export function scheduleFollowupDrain(
enqueuedAt: Date.now(),
...routing,
});
queue.items.splice(0, groupItems.length);
queue.items.splice(0);
if (pendingSummary) {
clearQueueSummaryState(queue);
pendingSummary = undefined;