aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-02-10 04:50:37 +0800
committerFabio Berger <me@fabioberger.com>2018-02-10 04:50:37 +0800
commitf3f264f5fde609c05641fabb5cc6c2c333e103b4 (patch)
tree7f7117b2688ae2071020c413ff69a6e73c09a948 /packages/deployer/src
parent0a113e1cf70872f23ceef988fa41f3d1172f7bf9 (diff)
downloaddexon-sol-tools-f3f264f5fde609c05641fabb5cc6c2c333e103b4.tar
dexon-sol-tools-f3f264f5fde609c05641fabb5cc6c2c333e103b4.tar.gz
dexon-sol-tools-f3f264f5fde609c05641fabb5cc6c2c333e103b4.tar.bz2
dexon-sol-tools-f3f264f5fde609c05641fabb5cc6c2c333e103b4.tar.lz
dexon-sol-tools-f3f264f5fde609c05641fabb5cc6c2c333e103b4.tar.xz
dexon-sol-tools-f3f264f5fde609c05641fabb5cc6c2c333e103b4.tar.zst
dexon-sol-tools-f3f264f5fde609c05641fabb5cc6c2c333e103b4.zip
Add tslint.json to deployer package and fix all tslint issues
Diffstat (limited to 'packages/deployer/src')
-rw-r--r--packages/deployer/src/commands.ts2
-rw-r--r--packages/deployer/src/globals.d.ts3
-rw-r--r--packages/deployer/src/migrations/config/token_info.ts2
-rw-r--r--packages/deployer/src/migrations/migrate.ts1
4 files changed, 6 insertions, 2 deletions
diff --git a/packages/deployer/src/commands.ts b/packages/deployer/src/commands.ts
index 2acef8e8f..d1707c5ed 100644
--- a/packages/deployer/src/commands.ts
+++ b/packages/deployer/src/commands.ts
@@ -1,6 +1,6 @@
-import { migrator } from './migrations/migrate';
import { Compiler } from './compiler';
import { Deployer } from './deployer';
+import { migrator } from './migrations/migrate';
import { CompilerOptions, DeployerOptions } from './utils/types';
export const commands = {
diff --git a/packages/deployer/src/globals.d.ts b/packages/deployer/src/globals.d.ts
index 0a35002da..2e04d83ea 100644
--- a/packages/deployer/src/globals.d.ts
+++ b/packages/deployer/src/globals.d.ts
@@ -1,8 +1,11 @@
declare module 'solc' {
+ // tslint:disable:completed-docs
export function compile(sources: any, optimizerEnabled: number, findImports: (importPath: string) => any): any;
export function setupMethods(solcBin: any): any;
+ // tslint:enable:completed-docs
}
declare module 'web3-eth-abi' {
+ // tslint:disable-next-line:completed-docs
export function encodeParameters(typesArray: string[], parameters: any[]): string;
}
diff --git a/packages/deployer/src/migrations/config/token_info.ts b/packages/deployer/src/migrations/config/token_info.ts
index 7e822fc3b..a815f5801 100644
--- a/packages/deployer/src/migrations/config/token_info.ts
+++ b/packages/deployer/src/migrations/config/token_info.ts
@@ -1,5 +1,5 @@
-import { constants } from '../../utils/constants';
import { Token } from '../../types';
+import { constants } from '../../utils/constants';
export const tokenInfo: Token[] = [
{
diff --git a/packages/deployer/src/migrations/migrate.ts b/packages/deployer/src/migrations/migrate.ts
index 393806b45..d3b397f0a 100644
--- a/packages/deployer/src/migrations/migrate.ts
+++ b/packages/deployer/src/migrations/migrate.ts
@@ -4,6 +4,7 @@ import * as _ from 'lodash';
import { Deployer } from '../deployer';
import { constants } from '../utils/constants';
+
import { tokenInfo } from './config/token_info';
export const migrator = {