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

@@ -51,7 +51,7 @@ const IssueComment = ({
const deleteComment = async () => {
try {
await axios.delete(`/api/v1/issueComment/${comment.id}`);
} catch (e) {
} catch {
// something went wrong deleting the comment
} finally {
if (onUpdate) {

View File

@@ -131,7 +131,7 @@ const IssueDetails = () => {
autoDismiss: true,
});
revalidateIssue();
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.toasteditdescriptionfailed), {
appearance: 'error',
autoDismiss: true,
@@ -149,7 +149,7 @@ const IssueDetails = () => {
});
revalidateIssue();
mutate('/api/v1/issue/count');
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.toaststatusupdatefailed), {
appearance: 'error',
autoDismiss: true,
@@ -167,7 +167,7 @@ const IssueDetails = () => {
autoDismiss: true,
});
router.push('/issues');
} catch (e) {
} catch {
addToast(intl.formatMessage(messages.toastissuedeletefailed), {
appearance: 'error',
autoDismiss: true,