Skip to content

Commit

Permalink
fix bad imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jprusik committed Jan 10, 2025
1 parent c0dfac4 commit 602ff90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 2 additions & 3 deletions apps/browser/src/autofill/content/notification-bar.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// FIXME: Update this file to be type safe and remove this and next line
// @ts-strict-ignore
// FIXME: remove `src` and fix import
// eslint-disable-next-line no-restricted-imports
import { ServerConfig } from "../../../../../libs/common/src/platform/abstractions/config/server-config";
import { ServerConfig } from "@bitwarden/common/platform/abstractions/config/server-config";

import {
AddLoginMessageData,
ChangePasswordMessageData,
Expand Down
4 changes: 1 addition & 3 deletions apps/browser/src/autofill/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { Region } from "@bitwarden/common/platform/abstractions/environment.service";
// FIXME: remove `src` and fix import
// eslint-disable-next-line no-restricted-imports
import { VaultTimeoutAction } from "@bitwarden/common/src/enums/vault-timeout-action.enum";
import { VaultTimeoutAction } from "@bitwarden/common/enums/vault-timeout-action.enum";

Check failure on line 2 in apps/browser/src/autofill/types/index.ts

View workflow job for this annotation

GitHub Actions / Lint

`@bitwarden/common/enums/vault-timeout-action.enum` import should occur before import of `@bitwarden/common/platform/abstractions/environment.service`
import { VaultTimeout } from "@bitwarden/common/types/vault-timeout.type";
import { CipherType } from "@bitwarden/common/vault/enums";

Expand Down

0 comments on commit 602ff90

Please sign in to comment.