1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

fix(eslint): extend tsconfig.base in tsconfig.eslint (#15082)

* fix(eslint): extend tsconfig.base in tsconfig.eslint

* fix(eslint): clean up new lint errors
This commit is contained in:
Addison Beck
2025-06-05 11:08:03 -04:00
committed by GitHub
parent 92f3630fed
commit 299976e55a
8 changed files with 16 additions and 43 deletions

View File

@@ -54,6 +54,8 @@ export class AcceptProviderComponent extends BaseAcceptComponent {
this.i18nService.t("providerInviteAcceptedDesc"),
{ timeout: 10000 },
);
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.router.navigate(["/vault"]);
}

View File

@@ -17,6 +17,8 @@ export class SetupProviderComponent extends BaseAcceptComponent {
requiredParameters = ["providerId", "email", "token"];
async authedHandler(qParams: Params) {
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.router.navigate(["/providers/setup"], { queryParams: qParams });
}
@@ -25,6 +27,8 @@ export class SetupProviderComponent extends BaseAcceptComponent {
}
login() {
// FIXME: Verify that this floating promise is intentional. If it is, add an explanatory comment and ensure there is proper error handling.
// eslint-disable-next-line @typescript-eslint/no-floating-promises
this.router.navigate(["/login"], { queryParams: { email: this.email } });
}
}