chore: migrate to oxlint and oxfmt

Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
Peter Steinberger
2026-01-14 14:31:43 +00:00
parent 912ebffc63
commit c379191f80
1480 changed files with 28608 additions and 43547 deletions

View File

@@ -75,16 +75,10 @@ vi.mock("../channels/plugins/index.js", () => ({
status: {
collectStatusIssues: (accounts: Array<Record<string, unknown>>) =>
accounts
.filter(
(account) =>
typeof account.lastError === "string" && account.lastError,
)
.filter((account) => typeof account.lastError === "string" && account.lastError)
.map((account) => ({
channel: "signal",
accountId:
typeof account.accountId === "string"
? account.accountId
: "default",
accountId: typeof account.accountId === "string" ? account.accountId : "default",
message: `Channel error: ${String(account.lastError)}`,
})),
},
@@ -105,16 +99,10 @@ vi.mock("../channels/plugins/index.js", () => ({
status: {
collectStatusIssues: (accounts: Array<Record<string, unknown>>) =>
accounts
.filter(
(account) =>
typeof account.lastError === "string" && account.lastError,
)
.filter((account) => typeof account.lastError === "string" && account.lastError)
.map((account) => ({
channel: "imessage",
accountId:
typeof account.accountId === "string"
? account.accountId
: "default",
accountId: typeof account.accountId === "string" ? account.accountId : "default",
message: `Channel error: ${String(account.lastError)}`,
})),
},