1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +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

@@ -19,6 +19,8 @@ import { ThemeType } from "@bitwarden/common/platform/enums";
import { ThemeStateService } from "@bitwarden/common/platform/theming/theme-state.service";
import { ButtonModule } from "@bitwarden/components";
// FIXME: remove `/apps` import from `/libs`
// eslint-disable-next-line import/no-restricted-paths
import { PreloadedEnglishI18nModule } from "../../../../../apps/web/src/app/core/tests";
import { LockIcon } from "../icons";
import { RegistrationCheckEmailIcon } from "../icons/registration-check-email.icon";