chore: upgrade to eslint v9 (#2574)
This commit is contained in:
@@ -254,7 +254,7 @@ class ImageProxy {
|
||||
imageBuffer: buffer,
|
||||
};
|
||||
}
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// No files. Treat as empty cache.
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user