diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 07:59:28 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-07 07:59:28 +0800 |
commit | 870eca0d9f875f784c1847993246db3097f68405 (patch) | |
tree | b410c792b110bbae4d1814aab8115b2b3120f65d | |
parent | e0cf68f1d5e007d054c348f7a7a628feaf25e400 (diff) | |
download | dexon-sol-tools-870eca0d9f875f784c1847993246db3097f68405.tar dexon-sol-tools-870eca0d9f875f784c1847993246db3097f68405.tar.gz dexon-sol-tools-870eca0d9f875f784c1847993246db3097f68405.tar.bz2 dexon-sol-tools-870eca0d9f875f784c1847993246db3097f68405.tar.lz dexon-sol-tools-870eca0d9f875f784c1847993246db3097f68405.tar.xz dexon-sol-tools-870eca0d9f875f784c1847993246db3097f68405.tar.zst dexon-sol-tools-870eca0d9f875f784c1847993246db3097f68405.zip |
Run prettier
-rw-r--r-- | packages/0x.js/src/types.ts | 1 | ||||
-rw-r--r-- | packages/0x.js/src/utils/constants.ts | 1 | ||||
-rw-r--r-- | packages/order-watcher/src/types.ts | 7 | ||||
-rw-r--r-- | packages/order-watcher/test/order_watcher_test.ts | 10 | ||||
-rw-r--r-- | packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts | 5 | ||||
-rw-r--r-- | packages/subproviders/test/unit/private_key_wallet_subprovider_test.ts | 5 | ||||
-rw-r--r-- | packages/utils/src/interval_utils.ts | 1 | ||||
-rw-r--r-- | packages/website/ts/components/legacy_portal/legacy_portal.tsx | 10 |
8 files changed, 13 insertions, 27 deletions
diff --git a/packages/0x.js/src/types.ts b/packages/0x.js/src/types.ts index e5c1429e5..651b15abd 100644 --- a/packages/0x.js/src/types.ts +++ b/packages/0x.js/src/types.ts @@ -1,4 +1,3 @@ - export enum InternalZeroExError { NoAbiDecoder = 'NO_ABI_DECODER', ZrxNotInTokenRegistry = 'ZRX_NOT_IN_TOKEN_REGISTRY', diff --git a/packages/0x.js/src/utils/constants.ts b/packages/0x.js/src/utils/constants.ts index 45bf1399c..5a5ba0e0a 100644 --- a/packages/0x.js/src/utils/constants.ts +++ b/packages/0x.js/src/utils/constants.ts @@ -1,4 +1,3 @@ - export const constants = { NULL_ADDRESS: '0x0000000000000000000000000000000000000000', TESTRPC_NETWORK_ID: 50, diff --git a/packages/order-watcher/src/types.ts b/packages/order-watcher/src/types.ts index b6a1115bd..f5b189c5a 100644 --- a/packages/order-watcher/src/types.ts +++ b/packages/order-watcher/src/types.ts @@ -1,9 +1,4 @@ - -import { - BlockParamLiteral, - LogEntryEvent, - OrderState, -} from '@0xproject/types'; +import { BlockParamLiteral, LogEntryEvent, OrderState } from '@0xproject/types'; export enum OrderWatcherError { SubscriptionAlreadyPresent = 'SUBSCRIPTION_ALREADY_PRESENT', diff --git a/packages/order-watcher/test/order_watcher_test.ts b/packages/order-watcher/test/order_watcher_test.ts index c09f82de9..a4713a56c 100644 --- a/packages/order-watcher/test/order_watcher_test.ts +++ b/packages/order-watcher/test/order_watcher_test.ts @@ -3,7 +3,15 @@ import { ContractWrappers } from '@0xproject/contract-wrappers'; import { BlockchainLifecycle, callbackErrorReporter } from '@0xproject/dev-utils'; import { FillScenarios } from '@0xproject/fill-scenarios'; import { getOrderHashHex } from '@0xproject/order-utils'; -import { DoneCallback, ExchangeContractErrs, OrderState, OrderStateInvalid, OrderStateValid, SignedOrder, Token } from '@0xproject/types'; +import { + DoneCallback, + ExchangeContractErrs, + OrderState, + OrderStateInvalid, + OrderStateValid, + SignedOrder, + Token, +} from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import { Web3Wrapper } from '@0xproject/web3-wrapper'; import * as chai from 'chai'; diff --git a/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts b/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts index 5fc615ced..794c40d1d 100644 --- a/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts +++ b/packages/subproviders/test/unit/mnemonic_wallet_subprovider_test.ts @@ -5,10 +5,7 @@ import 'make-promises-safe'; import Web3ProviderEngine = require('web3-provider-engine'); import { GanacheSubprovider, MnemonicWalletSubprovider } from '../../src/'; -import { - DoneCallback, - WalletSubproviderErrors, -} from '../../src/types'; +import { DoneCallback, WalletSubproviderErrors } from '../../src/types'; import { chaiSetup } from '../chai_setup'; import { fixtureData } from '../utils/fixture_data'; import { reportCallbackErrors } from '../utils/report_callback_errors'; diff --git a/packages/subproviders/test/unit/private_key_wallet_subprovider_test.ts b/packages/subproviders/test/unit/private_key_wallet_subprovider_test.ts index cf7b461fb..ef7919801 100644 --- a/packages/subproviders/test/unit/private_key_wallet_subprovider_test.ts +++ b/packages/subproviders/test/unit/private_key_wallet_subprovider_test.ts @@ -5,10 +5,7 @@ import 'make-promises-safe'; import Web3ProviderEngine = require('web3-provider-engine'); import { GanacheSubprovider, PrivateKeyWalletSubprovider } from '../../src/'; -import { - DoneCallback, - WalletSubproviderErrors, -} from '../../src/types'; +import { DoneCallback, WalletSubproviderErrors } from '../../src/types'; import { chaiSetup } from '../chai_setup'; import { fixtureData } from '../utils/fixture_data'; import { reportCallbackErrors } from '../utils/report_callback_errors'; diff --git a/packages/utils/src/interval_utils.ts b/packages/utils/src/interval_utils.ts index 6e296ceeb..3d0561cd2 100644 --- a/packages/utils/src/interval_utils.ts +++ b/packages/utils/src/interval_utils.ts @@ -1,4 +1,3 @@ - export const intervalUtils = { setAsyncExcludingInterval( fn: () => Promise<void>, diff --git a/packages/website/ts/components/legacy_portal/legacy_portal.tsx b/packages/website/ts/components/legacy_portal/legacy_portal.tsx index baca1b334..35e917eec 100644 --- a/packages/website/ts/components/legacy_portal/legacy_portal.tsx +++ b/packages/website/ts/components/legacy_portal/legacy_portal.tsx @@ -22,15 +22,7 @@ import { FlashMessage } from 'ts/components/ui/flash_message'; import { GenerateOrderForm } from 'ts/containers/generate_order_form'; import { localStorage } from 'ts/local_storage/local_storage'; import { Dispatcher } from 'ts/redux/dispatcher'; -import { - BlockchainErrs, - HashData, - Order, - ProviderType, - ScreenWidths, - TokenByAddress, - WebsitePaths, -} from 'ts/types'; +import { BlockchainErrs, HashData, Order, ProviderType, ScreenWidths, TokenByAddress, WebsitePaths } from 'ts/types'; import { configs } from 'ts/utils/configs'; import { constants } from 'ts/utils/constants'; import { orderParser } from 'ts/utils/order_parser'; |