diff --git a/packages/core/.eslintrc.json b/packages/core/.eslintrc.json index dc6e0df4d..8db38ac71 100644 --- a/packages/core/.eslintrc.json +++ b/packages/core/.eslintrc.json @@ -9,7 +9,6 @@ "target": "./src", "from": [ "../constant", - "../core", "../errors", "../ethers-adapter", "../hardhat-plugin", diff --git a/packages/core/src/hdkey/HDKey.ts b/packages/core/src/hdkey/HDKey.ts index 5d9b07b66..20c65ebf3 100644 --- a/packages/core/src/hdkey/HDKey.ts +++ b/packages/core/src/hdkey/HDKey.ts @@ -1,5 +1,4 @@ import * as s_bip32 from '@scure/bip32'; -// eslint-disable-next-line import/no-restricted-paths import * as s_bip39 from '@scure/bip39'; import * as nc_utils from '@noble/curves/abstract/utils'; import { base58 } from '@scure/base'; diff --git a/packages/core/src/keystore/cryptography/experimental/keystore.ts b/packages/core/src/keystore/cryptography/experimental/keystore.ts index 6a3cc5d25..c6847b2c5 100644 --- a/packages/core/src/keystore/cryptography/experimental/keystore.ts +++ b/packages/core/src/keystore/cryptography/experimental/keystore.ts @@ -9,7 +9,6 @@ import { InvalidKeystoreParams, stringifyData } from '@vechain/sdk-errors'; import { Keccak256 } from '../../../vcdm/hash/Keccak256'; import { Secp256k1 } from '../../../secp256k1'; import { ctr } from '@noble/ciphers/aes'; -// eslint-disable-next-line import/no-restricted-paths import { scrypt } from '@noble/hashes/scrypt'; import { type Keystore, type KeystoreAccount } from '../../types'; diff --git a/packages/core/src/secp256k1/Secp256k1.ts b/packages/core/src/secp256k1/Secp256k1.ts index ec657a4c9..fa45101e0 100644 --- a/packages/core/src/secp256k1/Secp256k1.ts +++ b/packages/core/src/secp256k1/Secp256k1.ts @@ -1,6 +1,5 @@ import * as nc_utils from '@noble/curves/abstract/utils'; import { HexUInt } from '../vcdm/HexUInt'; -// eslint-disable-next-line import/no-restricted-paths import { randomBytes as nh_randomBytes } from '@noble/hashes/utils'; import { secp256k1 as nc_secp256k1 } from '@noble/curves/secp256k1'; import { diff --git a/packages/core/src/vcdm/Hex.ts b/packages/core/src/vcdm/Hex.ts index 471efa91c..1b2b9912b 100644 --- a/packages/core/src/vcdm/Hex.ts +++ b/packages/core/src/vcdm/Hex.ts @@ -1,5 +1,4 @@ import * as nc_utils from '@noble/curves/abstract/utils'; -// eslint-disable-next-line import/no-restricted-paths import * as nh_utils from '@noble/hashes/utils'; import { InvalidOperation, diff --git a/packages/core/src/vcdm/Mnemonic.ts b/packages/core/src/vcdm/Mnemonic.ts index 22d6b4e43..0d020d52f 100644 --- a/packages/core/src/vcdm/Mnemonic.ts +++ b/packages/core/src/vcdm/Mnemonic.ts @@ -2,9 +2,7 @@ import { entropyToMnemonic, generateMnemonic, validateMnemonic - // eslint-disable-next-line import/no-restricted-paths } from '@scure/bip39'; -// eslint-disable-next-line import/no-restricted-paths import { wordlist } from '@scure/bip39/wordlists/english'; import { InvalidDataType, diff --git a/packages/core/src/vcdm/hash/Blake2b256.ts b/packages/core/src/vcdm/hash/Blake2b256.ts index 39415be0c..29a8be9a6 100644 --- a/packages/core/src/vcdm/hash/Blake2b256.ts +++ b/packages/core/src/vcdm/hash/Blake2b256.ts @@ -1,4 +1,3 @@ -// eslint-disable-next-line import/no-restricted-paths import { blake2b as nh_blake2b } from '@noble/hashes/blake2b'; import { InvalidOperation } from '@vechain/sdk-errors'; import { Hex, Txt, type Hash } from '../index'; diff --git a/packages/core/src/vcdm/hash/Keccak256.ts b/packages/core/src/vcdm/hash/Keccak256.ts index 6249002f3..2fa888e9a 100644 --- a/packages/core/src/vcdm/hash/Keccak256.ts +++ b/packages/core/src/vcdm/hash/Keccak256.ts @@ -1,4 +1,3 @@ -// eslint-disable-next-line import/no-restricted-paths import { keccak_256 as nh_keccak_256 } from '@noble/hashes/sha3'; import { InvalidOperation } from '@vechain/sdk-errors'; import { Hex, Txt, type Hash } from '../index'; diff --git a/packages/core/src/vcdm/hash/Sha256.ts b/packages/core/src/vcdm/hash/Sha256.ts index 37e7f6a2e..667d5d0a3 100644 --- a/packages/core/src/vcdm/hash/Sha256.ts +++ b/packages/core/src/vcdm/hash/Sha256.ts @@ -1,4 +1,3 @@ -// eslint-disable-next-line import/no-restricted-paths import * as nh_sha256 from '@noble/hashes/sha256'; import { InvalidOperation } from '@vechain/sdk-errors'; import { Hex, Txt, type Hash } from '../index'; diff --git a/packages/errors/.eslintrc.json b/packages/errors/.eslintrc.json index dc6e0df4d..fbe23194e 100644 --- a/packages/errors/.eslintrc.json +++ b/packages/errors/.eslintrc.json @@ -10,7 +10,6 @@ "from": [ "../constant", "../core", - "../errors", "../ethers-adapter", "../hardhat-plugin", "../logging", diff --git a/packages/ethers-adapter/.eslintrc.json b/packages/ethers-adapter/.eslintrc.json index dc6e0df4d..b4fff044a 100644 --- a/packages/ethers-adapter/.eslintrc.json +++ b/packages/ethers-adapter/.eslintrc.json @@ -11,7 +11,6 @@ "../constant", "../core", "../errors", - "../ethers-adapter", "../hardhat-plugin", "../logging", "../network", diff --git a/packages/hardhat-plugin/.eslintrc.json b/packages/hardhat-plugin/.eslintrc.json index dc6e0df4d..dc0cf2a8b 100644 --- a/packages/hardhat-plugin/.eslintrc.json +++ b/packages/hardhat-plugin/.eslintrc.json @@ -12,7 +12,6 @@ "../core", "../errors", "../ethers-adapter", - "../hardhat-plugin", "../logging", "../network", "../rpc-proxy" diff --git a/packages/hardhat-plugin/src/index.ts b/packages/hardhat-plugin/src/index.ts index 9a9bacd55..6928cfb0d 100644 --- a/packages/hardhat-plugin/src/index.ts +++ b/packages/hardhat-plugin/src/index.ts @@ -12,7 +12,6 @@ import { getContractFactoryFromArtifact, getSigner, getSigners - // eslint-disable-next-line import/no-restricted-paths } from '@nomicfoundation/hardhat-ethers/internal/helpers'; // Custom provider for ethers @@ -25,7 +24,6 @@ import { vechain_sdk_core_ethers as ethers } from '@vechain/sdk-core'; // Import needed to extend the hardhat environment import './type-extensions'; -// eslint-disable-next-line import/no-restricted-paths import { HardhatEthersProvider } from '@nomicfoundation/hardhat-ethers/internal/hardhat-ethers-provider'; import { contractAdapter, factoryAdapter } from '@vechain/sdk-ethers-adapter'; import { type FactoryOptions } from '@nomicfoundation/hardhat-ethers/src/types'; diff --git a/packages/hardhat-plugin/src/type-extensions.ts b/packages/hardhat-plugin/src/type-extensions.ts index a9ef6b9c2..3c2f9333c 100644 --- a/packages/hardhat-plugin/src/type-extensions.ts +++ b/packages/hardhat-plugin/src/type-extensions.ts @@ -9,7 +9,6 @@ import { type vechain_sdk_core_ethers as ethers } from '@vechain/sdk-core'; // To extend one of Hardhat's types, you need to import the module where it has been defined, and redeclare it. import 'hardhat/types/config'; import 'hardhat/types/runtime'; -// eslint-disable-next-line import/no-restricted-paths import { type HardhatEthersHelpers } from '@nomicfoundation/hardhat-ethers/types'; /** diff --git a/packages/logging/.eslintrc.json b/packages/logging/.eslintrc.json index dc6e0df4d..d2234a571 100644 --- a/packages/logging/.eslintrc.json +++ b/packages/logging/.eslintrc.json @@ -13,7 +13,6 @@ "../errors", "../ethers-adapter", "../hardhat-plugin", - "../logging", "../network", "../rpc-proxy" ], diff --git a/packages/network/.eslintrc.json b/packages/network/.eslintrc.json index dc6e0df4d..61322c933 100644 --- a/packages/network/.eslintrc.json +++ b/packages/network/.eslintrc.json @@ -14,7 +14,6 @@ "../ethers-adapter", "../hardhat-plugin", "../logging", - "../network", "../rpc-proxy" ], "message": "Please import using @vechain/sdk-"