chore: upgrade to eslint v9 (#2574)

This commit is contained in:
Michael Thomas
2026-03-16 12:12:30 -04:00
committed by GitHub
parent 40e02bba6a
commit 36243a0deb
84 changed files with 916 additions and 883 deletions

View File

@@ -254,7 +254,7 @@ class ImageProxy {
imageBuffer: buffer,
};
}
} catch (e) {
} catch {
// No files. Treat as empty cache.
}

View File

@@ -23,7 +23,7 @@ export const hasNotificationType = (
types: Notification | Notification[],
value: number
): boolean => {
let total = 0;
let total: number;
// If we are not checking any notifications, bail out and return true
if (types === 0) {

View File

@@ -36,7 +36,7 @@ const checkOverseerrMerge = async (): Promise<boolean> => {
// We have to replace Jellyseerr migrations not working with Overseerr with a custom one
try {
// Filter out the Jellyseerr migrations and replace them with the Seerr migration
// eslint-disable-next-line @typescript-eslint/ban-types
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
const newMigrations: MixedList<string | Function> = migrations
?.filter(
(migration) =>