From 3d6d2a5e30618f1b2743c114cc2f313c30c4c4eb Mon Sep 17 00:00:00 2001 From: qperrot Date: Thu, 12 Dec 2024 10:42:58 +0100 Subject: [PATCH] fix: uniported --- libs/ledger-live-common/.unimportedrc.json | 59 ++++++++++++---------- 1 file changed, 32 insertions(+), 27 deletions(-) diff --git a/libs/ledger-live-common/.unimportedrc.json b/libs/ledger-live-common/.unimportedrc.json index d190d7f98bd7..e7165b50150f 100644 --- a/libs/ledger-live-common/.unimportedrc.json +++ b/libs/ledger-live-common/.unimportedrc.json @@ -285,7 +285,12 @@ "src/wallet-api/version.ts", "src/errors/transactionBroadcastErrors.ts" ], - "extensions": [".ts", ".js", ".jsx", ".tsx"], + "extensions": [ + ".ts", + ".js", + ".jsx", + ".tsx" + ], "ignorePatterns": [ "**/node_modules/**", "**/__tests__/**", @@ -298,12 +303,16 @@ "**/fixtures/**" ], "ignoreUnimported": [ + "src/account/typeGuards.ts", "src/braze/anonymousUsers.ts", "src/config/sharedConfig.ts", "src/consoleWarnExpectToEqual.native.ts", "src/consoleWarnExpectToEqual.ts", "src/device", "src/device/hooks/useLatestFirmware.ts", + "src/device/use-cases/appDataBackup/deleteAppData.ts", + "src/device/use-cases/appDataBackup/deleteAppDataUseCase.ts", + "src/device/use-cases/appDataBackup/deleteAppDataUseCaseDI.ts", "src/device/use-cases/isDeviceLocalizationSupported.ts", "src/device/use-cases/isEditDeviceNameSupported.ts", "src/device/use-cases/isSyncOnboardingSupported.ts", @@ -312,13 +321,13 @@ "src/deviceSDK/commands/getAppAndVersion.ts", "src/deviceSDK/tasks/genuineCheck.ts", "src/e2e/enum/Account.ts", - "src/e2e/enum/Nft.ts", - "src/e2e/enum/OperationType.ts", "src/e2e/enum/AccountType.ts", "src/e2e/enum/AppInfos.ts", "src/e2e/enum/Currency.ts", "src/e2e/enum/DeviceLabels.ts", "src/e2e/enum/Fee.ts", + "src/e2e/enum/Nft.ts", + "src/e2e/enum/OperationType.ts", "src/e2e/enum/Swap.ts", "src/exchange/swap/const/blockchain.ts", "src/families/cardano/logic.ts", @@ -328,7 +337,6 @@ "src/families/internet_computer/utils.ts", "src/families/stellar/bridge/logic.ts", "src/families/stellar/logic.ts", - "src/families/tezos/logic.ts", "src/families/tezos/react.ts", "src/families/ton/types.ts", "src/hw/actions/uninstallAllApps.ts", @@ -336,23 +344,20 @@ "src/index.ts", "src/jest.d.ts", "src/market/api/index.ts", - "src/market/utils/types.ts", + "src/market/hooks/useMarketDataProvider.ts", + "src/market/hooks/useMarketPerformers.ts", + "src/market/utils/currencyFormatter.ts", "src/market/utils/index.ts", "src/market/utils/queryKeys.ts", "src/market/utils/timers.ts", - "src/market/utils/currencyFormatter.ts", - "src/market/hooks/useMarketDataProvider.ts", - "src/market/hooks/useMarketPerformers.ts", + "src/market/utils/types.ts", "src/notifications/AnnouncementProvider/helpers.ts", "src/reactNativeSvg.d.ts", "src/rxjs/operators/throwIf.ts", - "src/walletSync/getEnvironmentParams.ts", - "src/device/use-cases/appDataBackup/deleteAppData.ts", - "src/device/use-cases/appDataBackup/deleteAppDataUseCase.ts", - "src/device/use-cases/appDataBackup/deleteAppDataUseCaseDI.ts", - "src/account/typeGuards.ts" + "src/walletSync/getEnvironmentParams.ts" ], "ignoreUnused": [ + "@dfinity/agent", "@ledgerhq/hw-transport-mocker", "@tanstack/react-query", "@types/bchaddrjs", @@ -390,20 +395,30 @@ "./RCTAlertManager", "./RCTNetworking", "./legacySendAccessibilityEvent", + "@noble/curves/ed25519", + "@noble/curves/secp256k1", + "@noble/hashes/sha256", + "@noble/hashes/sha3", "@react-native/assets-registry/path-support", "@react-native/assets-registry/registry", "@react-native/normalize-colors", "@react-native/virtualized-lists", + "@solana/buffer-layout", "abort-controller/dist/abort-controller", "anser", "base64-js", + "bigint-buffer", + "bn.js", + "borsh", "css-select", "css-tree", "deprecated-react-native-prop-types", "event-target-shim", "hoist-non-react-statics", + "jayson/lib/client/browser", "memoize-one", "metro-runtime/src/modules/HMRClient", + "node-fetch", "nullthrows", "pretty-format", "promise/setimmediate/es6-extensions", @@ -415,21 +430,11 @@ "react-refresh/runtime", "regenerator-runtime", "regenerator-runtime/runtime", + "rpc-websockets", "scheduler", "stacktrace-parser", + "superstruct", "use-sync-external-store/shim", - "whatwg-fetch", - "@noble/curves/ed25519", - "@noble/hashes/sha256", - "@noble/hashes/sha3", - "@noble/curves/secp256k1", - "@solana/buffer-layout", - "bn.js", - "borsh", - "bigint-buffer", - "jayson/lib/client/browser", - "node-fetch", - "rpc-websockets", - "superstruct" + "whatwg-fetch" ] -} +} \ No newline at end of file