mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-17 23:34:14 +01:00
Switch from eslint to oxlint
Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
@@ -766,7 +766,7 @@ async function removeMessagesInConversation(
|
||||
);
|
||||
// Yes, we really want the await in the loop. We're deleting a chunk at a
|
||||
// time so we don't use too much memory.
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
// oxlint-disable-next-line no-await-in-loop
|
||||
messages = await getOlderMessagesByConversation({
|
||||
conversationId,
|
||||
limit: chunkSize,
|
||||
@@ -779,7 +779,7 @@ async function removeMessagesInConversation(
|
||||
return;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
// oxlint-disable-next-line no-await-in-loop
|
||||
await removeMessages(messages, { fromSync, cleanupMessages });
|
||||
} while (messages.length > 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user