fix: eslint errors and warnings (#8149)

This commit is contained in:
sriram veeraghanta 2025-11-20 19:31:22 +05:30 committed by GitHub
parent 83fdebf64d
commit 8307badae5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
137 changed files with 97 additions and 216 deletions

View file

@ -163,7 +163,7 @@ export class CycleIssues extends BaseIssuesStore implements ICycleIssues {
if (cycleId) {
this.rootIssueStore.rootStore.cycle.updateCycleDistribution(distributionUpdates, cycleId);
}
} catch (e) {
} catch (_e) {
console.warn("could not update cycle statistics");
}
};

View file

@ -217,6 +217,7 @@ export class ProjectPageStore implements IProjectPageStore {
const existingPage = this.getPageById(page.id);
if (existingPage) {
// If page already exists, update all fields except name
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const { name, ...otherFields } = page;
existingPage.mutateProperties(otherFields, false);
} else {

View file

@ -169,7 +169,7 @@ export class ProjectViewStore implements IProjectViewStore {
});
return response;
});
} catch (error) {
} catch (_error) {
this.loader = false;
return undefined;
}