Switch from eslint to oxlint

This commit is contained in:
Jamie
2026-03-27 13:40:46 -07:00
committed by GitHub
parent 224bb811e1
commit caa10d02c3
606 changed files with 6026 additions and 3790 deletions
+2 -2
View File
@@ -1,6 +1,5 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* eslint-disable max-classes-per-file */
import lodash from 'lodash';
@@ -77,7 +76,7 @@ export function sqlFragment(
const params: Array<QueryTemplateParam> = [];
strings.forEach((string, index) => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
// oxlint-disable-next-line typescript/no-non-null-assertion
const value = values[index]!;
query += string;
@@ -396,6 +395,7 @@ export function getCountFromTable(db: ReadableDB, table: TableType): number {
throw new Error(`getCountFromTable: Unable to get count from table ${table}`);
}
// oxlint-disable-next-line max-classes-per-file
export class TableIterator<ObjectType extends { id: string }> {
constructor(
private readonly db: ReadableDB,