Skip to content

Commit f832682

Browse files
committed
Wallet: temporarily disable eslint for tests, disable no-buffer rule for src files
1 parent 590b61d commit f832682

File tree

9 files changed

+9
-1
lines changed

9 files changed

+9
-1
lines changed

packages/wallet/src/hdkey.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ethereumjs/noBuffer */
12
import { HDKey } from 'ethereum-cryptography/hdkey'
23
import Wallet from './index'
34

packages/wallet/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ethereumjs/noBuffer */
12
import {
23
privateToAddress,
34
publicToAddress,

packages/wallet/src/thirdparty.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ethereumjs/noBuffer */
12
import { decrypt } from 'ethereum-cryptography/aes'
23
import { keccak256 } from 'ethereum-cryptography/keccak'
34
import { pbkdf2Sync } from 'ethereum-cryptography/pbkdf2'

packages/wallet/src/util/bytes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ethereumjs/noBuffer */
12
import { assertIsArray, assertIsBuffer, assertIsHexString } from './helpers'
23
import { isHexPrefixed, isHexString, padToEven, stripHexPrefix } from './internal'
34

packages/wallet/src/util/helpers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ethereumjs/noBuffer */
12
import { isHexString } from './internal'
23

34
/**

packages/wallet/src/util/internal.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ethereumjs/noBuffer */
12
/*
23
The MIT License
34

packages/wallet/src/util/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ethereumjs/noBuffer */
12
import { bufferToBigInt, bufferToHex, toBuffer } from './bytes'
23
import { isHexString } from './internal'
34

packages/wallet/test/hdkey.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable */
12
import * as assert from 'assert'
23
import EthereumHDKey from '../src/hdkey'
34

packages/wallet/test/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* tslint:disable no-invalid-this */
1+
/* eslint-disable */
22
import * as assert from 'assert'
33
import { Wallet as ethersWallet } from 'ethers'
44

0 commit comments

Comments
 (0)