Fix linter errors
This commit is contained in:
parent
b8a267370d
commit
a2fc9a964b
@ -109,6 +109,7 @@
|
|||||||
"@0xproject/typescript-typings": "^0.3.2",
|
"@0xproject/typescript-typings": "^0.3.2",
|
||||||
"@0xproject/utils": "^0.6.2",
|
"@0xproject/utils": "^0.6.2",
|
||||||
"@0xproject/web3-wrapper": "^0.6.4",
|
"@0xproject/web3-wrapper": "^0.6.4",
|
||||||
|
"ethereum-types": "^0.0.1",
|
||||||
"ethers": "^3.0.15",
|
"ethers": "^3.0.15",
|
||||||
"lodash": "^4.17.4"
|
"lodash": "^4.17.4"
|
||||||
},
|
},
|
||||||
|
@ -85,6 +85,7 @@
|
|||||||
"@0xproject/typescript-typings": "^0.3.2",
|
"@0xproject/typescript-typings": "^0.3.2",
|
||||||
"@0xproject/utils": "^0.6.2",
|
"@0xproject/utils": "^0.6.2",
|
||||||
"@0xproject/web3-wrapper": "^0.6.4",
|
"@0xproject/web3-wrapper": "^0.6.4",
|
||||||
|
"ethereum-types": "^0.0.1",
|
||||||
"ethereumjs-blockstream": "^2.0.6",
|
"ethereumjs-blockstream": "^2.0.6",
|
||||||
"ethereumjs-util": "^5.1.1",
|
"ethereumjs-util": "^5.1.1",
|
||||||
"ethers": "^3.0.15",
|
"ethers": "^3.0.15",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Provider } from 'ethereum-types';
|
|
||||||
import { BigNumber } from '@0xproject/utils';
|
import { BigNumber } from '@0xproject/utils';
|
||||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||||
|
import { Provider } from 'ethereum-types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
|
||||||
import { DummyERC20TokenContract } from '../contract_wrappers/generated/dummy_e_r_c20_token';
|
import { DummyERC20TokenContract } from '../contract_wrappers/generated/dummy_e_r_c20_token';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { generatePseudoRandomSalt } from '@0xproject/order-utils';
|
import { generatePseudoRandomSalt } from '@0xproject/order-utils';
|
||||||
import { Provider } from 'ethereum-types';
|
|
||||||
import { BigNumber } from '@0xproject/utils';
|
import { BigNumber } from '@0xproject/utils';
|
||||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||||
|
import { Provider } from 'ethereum-types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
|
||||||
import { DummyERC721TokenContract } from '../contract_wrappers/generated/dummy_e_r_c721_token';
|
import { DummyERC721TokenContract } from '../contract_wrappers/generated/dummy_e_r_c721_token';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Provider } from '@0xproject/types';
|
|
||||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||||
|
import { Provider } from 'ethereum-types';
|
||||||
|
|
||||||
import { TokenRegistryContract } from '../contract_wrappers/generated/token_registry';
|
import { TokenRegistryContract } from '../contract_wrappers/generated/token_registry';
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { devConstants, env, EnvVars, web3Factory } from '@0xproject/dev-utils';
|
import { devConstants, env, EnvVars, web3Factory } from '@0xproject/dev-utils';
|
||||||
import { prependSubprovider } from '@0xproject/subproviders';
|
import { prependSubprovider } from '@0xproject/subproviders';
|
||||||
import { Provider } from 'ethereum-types';
|
|
||||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||||
|
import { Provider } from 'ethereum-types';
|
||||||
|
|
||||||
import { coverage } from './coverage';
|
import { coverage } from './coverage';
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import { BlockchainLifecycle } from '@0xproject/dev-utils';
|
import { BlockchainLifecycle } from '@0xproject/dev-utils';
|
||||||
import { LogWithDecodedArgs } from 'ethereum-types';
|
|
||||||
import { BigNumber } from '@0xproject/utils';
|
import { BigNumber } from '@0xproject/utils';
|
||||||
import * as chai from 'chai';
|
import * as chai from 'chai';
|
||||||
|
import { LogWithDecodedArgs } from 'ethereum-types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import 'make-promises-safe';
|
import 'make-promises-safe';
|
||||||
import * as Web3 from 'web3';
|
import * as Web3 from 'web3';
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-utils';
|
import { BlockchainLifecycle, devConstants, web3Factory } from '@0xproject/dev-utils';
|
||||||
import { LogWithDecodedArgs, TransactionReceiptWithDecodedLogs } from 'ethereum-types';
|
|
||||||
import { BigNumber } from '@0xproject/utils';
|
import { BigNumber } from '@0xproject/utils';
|
||||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||||
import BN = require('bn.js');
|
import BN = require('bn.js');
|
||||||
import * as chai from 'chai';
|
import * as chai from 'chai';
|
||||||
|
import { LogWithDecodedArgs, TransactionReceiptWithDecodedLogs } from 'ethereum-types';
|
||||||
import ethUtil = require('ethereumjs-util');
|
import ethUtil = require('ethereumjs-util');
|
||||||
import * as Web3 from 'web3';
|
import * as Web3 from 'web3';
|
||||||
|
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
"@0xproject/base-contract": "^0.3.2",
|
"@0xproject/base-contract": "^0.3.2",
|
||||||
"@0xproject/order-utils": "^0.0.5",
|
"@0xproject/order-utils": "^0.0.5",
|
||||||
"@0xproject/types": "0.7.0",
|
"@0xproject/types": "0.7.0",
|
||||||
|
"ethereum-types": "^0.0.1",
|
||||||
"@0xproject/typescript-typings": "^0.3.2",
|
"@0xproject/typescript-typings": "^0.3.2",
|
||||||
"@0xproject/utils": "^0.6.2",
|
"@0xproject/utils": "^0.6.2",
|
||||||
"@0xproject/web3-wrapper": "^0.6.4",
|
"@0xproject/web3-wrapper": "^0.6.4",
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
"@0xproject/typescript-typings": "^0.3.2",
|
"@0xproject/typescript-typings": "^0.3.2",
|
||||||
"@0xproject/utils": "^0.6.2",
|
"@0xproject/utils": "^0.6.2",
|
||||||
"@0xproject/web3-wrapper": "^0.6.4",
|
"@0xproject/web3-wrapper": "^0.6.4",
|
||||||
|
"ethereum-types": "^0.0.1",
|
||||||
"ethers": "^3.0.15",
|
"ethers": "^3.0.15",
|
||||||
"lodash": "^4.17.4"
|
"lodash": "^4.17.4"
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
import { devConstants, web3Factory } from '@0xproject/dev-utils';
|
import { devConstants, web3Factory } from '@0xproject/dev-utils';
|
||||||
import { Provider } from 'ethereum-types';
|
|
||||||
import { logUtils } from '@0xproject/utils';
|
import { logUtils } from '@0xproject/utils';
|
||||||
|
import { Provider } from 'ethereum-types';
|
||||||
import * as path from 'path';
|
import * as path from 'path';
|
||||||
import * as yargs from 'yargs';
|
import * as yargs from 'yargs';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Provider, TxData } from 'ethereum-types';
|
|
||||||
import { BigNumber, NULL_BYTES } from '@0xproject/utils';
|
import { BigNumber, NULL_BYTES } from '@0xproject/utils';
|
||||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||||
|
import { Provider, TxData } from 'ethereum-types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
|
||||||
import { ArtifactWriter } from '../artifact_writer';
|
import { ArtifactWriter } from '../artifact_writer';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { Provider, TxData } from 'ethereum-types';
|
|
||||||
import { BigNumber, NULL_BYTES } from '@0xproject/utils';
|
import { BigNumber, NULL_BYTES } from '@0xproject/utils';
|
||||||
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
import { Web3Wrapper } from '@0xproject/web3-wrapper';
|
||||||
|
import { Provider, TxData } from 'ethereum-types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
|
||||||
import { ArtifactWriter } from '../artifact_writer';
|
import { ArtifactWriter } from '../artifact_writer';
|
||||||
|
@ -86,6 +86,7 @@
|
|||||||
"@0xproject/typescript-typings": "^0.3.2",
|
"@0xproject/typescript-typings": "^0.3.2",
|
||||||
"@0xproject/utils": "^0.6.2",
|
"@0xproject/utils": "^0.6.2",
|
||||||
"@0xproject/web3-wrapper": "^0.6.4",
|
"@0xproject/web3-wrapper": "^0.6.4",
|
||||||
|
"ethereum-types": "^0.0.1",
|
||||||
"bintrees": "^1.0.2",
|
"bintrees": "^1.0.2",
|
||||||
"ethers": "^3.0.15",
|
"ethers": "^3.0.15",
|
||||||
"lodash": "^4.17.4"
|
"lodash": "^4.17.4"
|
||||||
|
@ -11,9 +11,9 @@ import {
|
|||||||
Resolver,
|
Resolver,
|
||||||
URLResolver,
|
URLResolver,
|
||||||
} from '@0xproject/sol-resolver';
|
} from '@0xproject/sol-resolver';
|
||||||
import { ContractAbi } from 'ethereum-types';
|
|
||||||
import { logUtils, promisify } from '@0xproject/utils';
|
import { logUtils, promisify } from '@0xproject/utils';
|
||||||
import chalk from 'chalk';
|
import chalk from 'chalk';
|
||||||
|
import { ContractAbi } from 'ethereum-types';
|
||||||
import * as ethUtil from 'ethereumjs-util';
|
import * as ethUtil from 'ethereumjs-util';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import 'isomorphic-fetch';
|
import 'isomorphic-fetch';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { OpCode, StructLog, TransactionTrace } from 'ethereum-types';
|
|
||||||
import { addressUtils, BigNumber, logUtils } from '@0xproject/utils';
|
import { addressUtils, BigNumber, logUtils } from '@0xproject/utils';
|
||||||
|
import { OpCode, StructLog, TransactionTrace } from 'ethereum-types';
|
||||||
import { addHexPrefix, stripHexPrefix } from 'ethereumjs-util';
|
import { addHexPrefix, stripHexPrefix } from 'ethereumjs-util';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { OpCode, StructLog } from 'ethereum-types';
|
|
||||||
import * as chai from 'chai';
|
import * as chai from 'chai';
|
||||||
|
import { OpCode, StructLog } from 'ethereum-types';
|
||||||
import * as fs from 'fs';
|
import * as fs from 'fs';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
import 'mocha';
|
import 'mocha';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { assert } from '@0xproject/assert';
|
import { assert } from '@0xproject/assert';
|
||||||
import { JSONRPCRequestPayload, JSONRPCResponsePayload } from 'ethereum-types';
|
|
||||||
import { addressUtils } from '@0xproject/utils';
|
import { addressUtils } from '@0xproject/utils';
|
||||||
|
import { JSONRPCRequestPayload, JSONRPCResponsePayload } from 'ethereum-types';
|
||||||
import * as _ from 'lodash';
|
import * as _ from 'lodash';
|
||||||
|
|
||||||
import { Callback, ErrorCallback, PartialTxParams, ResponseWithTxParams, WalletSubproviderErrors } from '../types';
|
import { Callback, ErrorCallback, PartialTxParams, ResponseWithTxParams, WalletSubproviderErrors } from '../types';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { JSONRPCRequestPayload, JSONRPCResponsePayload } from 'ethereum-types';
|
|
||||||
import { promisify } from '@0xproject/utils';
|
import { promisify } from '@0xproject/utils';
|
||||||
|
import { JSONRPCRequestPayload, JSONRPCResponsePayload } from 'ethereum-types';
|
||||||
import * as Web3 from 'web3';
|
import * as Web3 from 'web3';
|
||||||
|
|
||||||
import { Callback, ErrorCallback, JSONRPCRequestPayloadWithMethod } from '../types';
|
import { Callback, ErrorCallback, JSONRPCRequestPayloadWithMethod } from '../types';
|
||||||
|
10
yarn.lock
10
yarn.lock
@ -130,7 +130,7 @@
|
|||||||
"@types/express" "*"
|
"@types/express" "*"
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/compare-versions@^3.0.1":
|
"@types/compare-versions@^3.0.0":
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/compare-versions/-/compare-versions-3.0.0.tgz#4a45dffe0ebbc00d0f2daef8a0e96ffc66cf5955"
|
resolved "https://registry.yarnpkg.com/@types/compare-versions/-/compare-versions-3.0.0.tgz#4a45dffe0ebbc00d0f2daef8a0e96ffc66cf5955"
|
||||||
|
|
||||||
@ -237,10 +237,6 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
jsonschema "*"
|
jsonschema "*"
|
||||||
|
|
||||||
"@types/lerna-get-packages@^1.0.0":
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/lerna-get-packages/-/lerna-get-packages-1.0.0.tgz#d98269467207e17fb43ae76d78d1bcc2c9b76a34"
|
|
||||||
|
|
||||||
"@types/lodash.foreach@^4.5.3":
|
"@types/lodash.foreach@^4.5.3":
|
||||||
version "4.5.3"
|
version "4.5.3"
|
||||||
resolved "https://registry.yarnpkg.com/@types/lodash.foreach/-/lodash.foreach-4.5.3.tgz#87c01a0c5d9d17eec936ca3c28897af79440cdfc"
|
resolved "https://registry.yarnpkg.com/@types/lodash.foreach/-/lodash.foreach-4.5.3.tgz#87c01a0c5d9d17eec936ca3c28897af79440cdfc"
|
||||||
@ -404,10 +400,6 @@
|
|||||||
"@types/glob" "*"
|
"@types/glob" "*"
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/semver-sort@^0.0.0":
|
|
||||||
version "0.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/semver-sort/-/semver-sort-0.0.0.tgz#30b7bb8b954e9bd9b453b303a9a7a477204d3645"
|
|
||||||
|
|
||||||
"@types/semver@^5.5.0":
|
"@types/semver@^5.5.0":
|
||||||
version "5.5.0"
|
version "5.5.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45"
|
resolved "https://registry.yarnpkg.com/@types/semver/-/semver-5.5.0.tgz#146c2a29ee7d3bae4bf2fcb274636e264c813c45"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user