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

@@ -84,7 +84,7 @@ const UserNotificationsDiscord = () => {
appearance: 'success',
autoDismiss: true,
});
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.discordsettingsfailed), {
appearance: 'error',
autoDismiss: true,

View File

@@ -83,7 +83,7 @@ const UserEmailSettings = () => {
appearance: 'success',
autoDismiss: true,
});
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.emailsettingsfailed), {
appearance: 'error',
autoDismiss: true,

View File

@@ -81,7 +81,7 @@ const UserPushbulletSettings = () => {
appearance: 'success',
autoDismiss: true,
});
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.pushbulletsettingsfailed), {
appearance: 'error',
autoDismiss: true,

View File

@@ -113,7 +113,7 @@ const UserPushoverSettings = () => {
appearance: 'success',
autoDismiss: true,
});
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.pushoversettingsfailed), {
appearance: 'error',
autoDismiss: true,

View File

@@ -108,7 +108,7 @@ const UserTelegramSettings = () => {
appearance: 'success',
autoDismiss: true,
});
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.telegramsettingsfailed), {
appearance: 'error',
autoDismiss: true,

View File

@@ -95,7 +95,7 @@ const UserWebPushSettings = () => {
} else {
throw new Error('Subscription failed');
}
} catch (error) {
} catch {
addToast(intl.formatMessage(messages.enablingwebpusherror), {
appearance: 'error',
autoDismiss: true,
@@ -135,7 +135,7 @@ const UserWebPushSettings = () => {
autoDismiss: true,
appearance: 'success',
});
} catch (error) {
} catch {
addToast(intl.formatMessage(messages.disablingwebpusherror), {
autoDismiss: true,
appearance: 'error',
@@ -157,7 +157,7 @@ const UserWebPushSettings = () => {
autoDismiss: true,
appearance: 'success',
});
} catch (error) {
} catch {
addToast(intl.formatMessage(messages.subscriptiondeleteerror), {
autoDismiss: true,
appearance: 'error',
@@ -272,7 +272,7 @@ const UserWebPushSettings = () => {
appearance: 'success',
autoDismiss: true,
});
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.webpushsettingsfailed), {
appearance: 'error',
autoDismiss: true,