1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 07:13:32 +00:00

[PM-10813] add eslint rule to restrict imports from apps in libs (#10481)

* restrict app imports in libs

* add eslint ignore comments
This commit is contained in:
Will Martin
2024-08-14 14:24:29 -04:00
committed by GitHub
parent 910ae7d799
commit 7571c766e0
7 changed files with 17 additions and 0 deletions

View File

@@ -1,6 +1,8 @@
import { mock } from "jest-mock-extended";
import { firstValueFrom, Observable } from "rxjs";
// FIXME: remove `/apps` import from `/libs`
// eslint-disable-next-line import/no-restricted-paths
import { flushPromises } from "@bitwarden/browser/src/autofill/spec/testing-utils";
import { Fido2CredentialView } from "../../../vault/models/view/fido2-credential.view";