diff --git a/packages/protocol-utils/src/nft_orders.ts b/packages/protocol-utils/src/nft_orders.ts index 179ed17188..1f01668aae 100644 --- a/packages/protocol-utils/src/nft_orders.ts +++ b/packages/protocol-utils/src/nft_orders.ts @@ -19,12 +19,10 @@ import { SignatureType, } from './signature_utils'; -// tslint:disable:enum-naming export enum TradeDirection { SellNFT = 0, BuyNFT = 1, } -// tslint:enable:enum-naming export enum OrderStatus { Invalid = 0, diff --git a/packages/protocol-utils/src/revert-errors/native_orders.ts b/packages/protocol-utils/src/revert-errors/native_orders.ts index c7c8de1485..5e42a7842b 100644 --- a/packages/protocol-utils/src/revert-errors/native_orders.ts +++ b/packages/protocol-utils/src/revert-errors/native_orders.ts @@ -1,4 +1,3 @@ -// tslint:disable: max-classes-per-file import { Numberish, RevertError } from '@0x/utils'; import { OrderStatus } from '../orders'; diff --git a/packages/protocol-utils/src/revert-errors/nft_orders.ts b/packages/protocol-utils/src/revert-errors/nft_orders.ts index b653b09be0..b17a60e17d 100644 --- a/packages/protocol-utils/src/revert-errors/nft_orders.ts +++ b/packages/protocol-utils/src/revert-errors/nft_orders.ts @@ -1,4 +1,3 @@ -// tslint:disable: max-classes-per-file import { Numberish, RevertError } from '@0x/utils'; import { OrderStatus } from '../nft_orders'; diff --git a/packages/protocol-utils/src/transformer_utils.ts b/packages/protocol-utils/src/transformer_utils.ts index 5e5490b420..18d03cf264 100644 --- a/packages/protocol-utils/src/transformer_utils.ts +++ b/packages/protocol-utils/src/transformer_utils.ts @@ -125,7 +125,6 @@ export interface FillQuoteTransformerData { refundReceiver: string; } -// tslint:disable: enum-naming /** * Identifies the DEX protocol used to fill a bridge order. * Note: These need to correspond exactly with BridgeProtocols.sol! @@ -164,7 +163,6 @@ export enum BridgeProtocol { Synthetix, WOOFi, } -// tslint:enable: enum-naming /** * `FillQuoteTransformer.BridgeOrder` @@ -357,10 +355,7 @@ export function findTransformerNonce(transformer: string, deployer: string = NUL * Compute the deployed address for a transformer given a deployer and nonce. */ export function getTransformerAddress(deployer: string, nonce: number): string { - return ethjs.bufferToHex( - // tslint:disable-next-line: custom-no-magic-numbers - ethjs.rlphash([deployer, nonce] as any).slice(12), - ); + return ethjs.bufferToHex(ethjs.rlphash([deployer, nonce] as any).slice(12)); } /**