Switch from eslint to oxlint

Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-03-30 14:27:16 -05:00
committed by GitHub
parent 707921b9be
commit 806a66e006
606 changed files with 6026 additions and 3790 deletions

View File

@@ -134,7 +134,7 @@ function toProtobufSession(
if (!senderBaseKey) {
throw new Error('toProtobufSession: No sender base key!');
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// oxlint-disable-next-line typescript/no-explicit-any
const senderChain = (session as any)[senderBaseKey] as ChainType | undefined;
if (!senderChain) {
throw new Error(
@@ -169,7 +169,7 @@ function toProtobufSession(
throw new Error('toProtobufSession: No receiver base key!');
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// oxlint-disable-next-line typescript/no-explicit-any
const firstReceiverChain = (session as any)[firstReceiverChainBaseKey] as
| ChainType
| undefined;
@@ -207,7 +207,7 @@ function toProtobufSession(
throw new Error('toProtobufSession: No base key for old receiver chain!');
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// oxlint-disable-next-line typescript/no-explicit-any
const chain = (session as any)[baseKey] as ChainType | undefined;
if (!chain) {
throw new Error(
@@ -323,7 +323,7 @@ function translateMessageKey(key: Uint8Array<ArrayBuffer>) {
}
function binaryToUint8Array(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// oxlint-disable-next-line typescript/no-explicit-any
object: any,
path: string,
length: number
@@ -347,7 +347,7 @@ function binaryToUint8Array(
return buffer;
}
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// oxlint-disable-next-line typescript/no-explicit-any
function getInteger(object: any, path: string): number {
const target = get(object, path);
if (target == null) {