aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-07 03:55:57 +0800
committerFabio Berger <me@fabioberger.com>2018-03-07 03:55:57 +0800
commite88eba18772015b07c9ae305260c12f1cdf69e8c (patch)
tree3bfcfb9a83e069e732a31be8bf89722e7907d77b
parentf8b8a10b8f914d05edfbc57081a40dccc8f464de (diff)
downloaddexon-sol-tools-e88eba18772015b07c9ae305260c12f1cdf69e8c.tar
dexon-sol-tools-e88eba18772015b07c9ae305260c12f1cdf69e8c.tar.gz
dexon-sol-tools-e88eba18772015b07c9ae305260c12f1cdf69e8c.tar.bz2
dexon-sol-tools-e88eba18772015b07c9ae305260c12f1cdf69e8c.tar.lz
dexon-sol-tools-e88eba18772015b07c9ae305260c12f1cdf69e8c.tar.xz
dexon-sol-tools-e88eba18772015b07c9ae305260c12f1cdf69e8c.tar.zst
dexon-sol-tools-e88eba18772015b07c9ae305260c12f1cdf69e8c.zip
Fix tslint errors
-rw-r--r--packages/react-docs/src/ts/components/event_definition.tsx2
-rw-r--r--packages/react-docs/src/ts/components/interface.tsx2
-rw-r--r--packages/react-docs/src/ts/components/method_block.tsx2
-rw-r--r--packages/react-docs/src/ts/components/method_signature.tsx2
-rw-r--r--packages/react-docs/src/ts/components/type.tsx2
-rw-r--r--packages/react-docs/src/ts/components/type_definition.tsx2
-rw-r--r--packages/website/ts/components/generate_order/generate_order_form.tsx3
-rw-r--r--packages/website/ts/components/top_bar/provider_picker.tsx3
8 files changed, 8 insertions, 10 deletions
diff --git a/packages/react-docs/src/ts/components/event_definition.tsx b/packages/react-docs/src/ts/components/event_definition.tsx
index 68f60ddf9..4789b21f2 100644
--- a/packages/react-docs/src/ts/components/event_definition.tsx
+++ b/packages/react-docs/src/ts/components/event_definition.tsx
@@ -2,9 +2,9 @@ import { AnchorTitle, colors, HeaderSizes } from '@0xproject/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
+import { DocsInfo } from '../docs_info';
import { Event, EventArg } from '../types';
-import { DocsInfo } from '../docs_info';
import { Type } from './type';
export interface EventDefinitionProps {
diff --git a/packages/react-docs/src/ts/components/interface.tsx b/packages/react-docs/src/ts/components/interface.tsx
index 92883089a..01f4942ef 100644
--- a/packages/react-docs/src/ts/components/interface.tsx
+++ b/packages/react-docs/src/ts/components/interface.tsx
@@ -1,9 +1,9 @@
import * as _ from 'lodash';
import * as React from 'react';
+import { DocsInfo } from '../docs_info';
import { CustomType, TypeDocTypes } from '../types';
-import { DocsInfo } from '../docs_info';
import { MethodSignature } from './method_signature';
import { Type } from './type';
diff --git a/packages/react-docs/src/ts/components/method_block.tsx b/packages/react-docs/src/ts/components/method_block.tsx
index 529b9f9c7..029662b3f 100644
--- a/packages/react-docs/src/ts/components/method_block.tsx
+++ b/packages/react-docs/src/ts/components/method_block.tsx
@@ -2,11 +2,11 @@ import { AnchorTitle, colors, HeaderSizes, Styles } from '@0xproject/react-share
import * as _ from 'lodash';
import * as React from 'react';
+import { DocsInfo } from '../docs_info';
import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
import { typeDocUtils } from '../utils/typedoc_utils';
import { Comment } from './comment';
-import { DocsInfo } from '../docs_info';
import { MethodSignature } from './method_signature';
import { SourceLink } from './source_link';
diff --git a/packages/react-docs/src/ts/components/method_signature.tsx b/packages/react-docs/src/ts/components/method_signature.tsx
index 6a394dd6d..1400182ea 100644
--- a/packages/react-docs/src/ts/components/method_signature.tsx
+++ b/packages/react-docs/src/ts/components/method_signature.tsx
@@ -2,10 +2,10 @@ import * as _ from 'lodash';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
+import { DocsInfo } from '../docs_info';
import { Parameter, SolidityMethod, TypeDefinitionByName, TypescriptMethod } from '../types';
import { constants } from '../utils/constants';
-import { DocsInfo } from '../docs_info';
import { Type } from './type';
export interface MethodSignatureProps {
diff --git a/packages/react-docs/src/ts/components/type.tsx b/packages/react-docs/src/ts/components/type.tsx
index 504570aad..f3efbc8dd 100644
--- a/packages/react-docs/src/ts/components/type.tsx
+++ b/packages/react-docs/src/ts/components/type.tsx
@@ -4,11 +4,11 @@ import * as React from 'react';
import { Link as ScrollLink } from 'react-scroll';
import * as ReactTooltip from 'react-tooltip';
+import { DocsInfo } from '../docs_info';
import { Type as TypeDef, TypeDefinitionByName, TypeDocTypes } from '../types';
import { constants } from '../utils/constants';
import { utils } from '../utils/utils';
-import { DocsInfo } from '../docs_info';
import { TypeDefinition } from './type_definition';
// Some types reference other libraries. For these types, we want to link the user to the relevant documentation.
diff --git a/packages/react-docs/src/ts/components/type_definition.tsx b/packages/react-docs/src/ts/components/type_definition.tsx
index 20a24495b..e3cd218f9 100644
--- a/packages/react-docs/src/ts/components/type_definition.tsx
+++ b/packages/react-docs/src/ts/components/type_definition.tsx
@@ -2,12 +2,12 @@ import { AnchorTitle, colors, HeaderSizes } from '@0xproject/react-shared';
import * as _ from 'lodash';
import * as React from 'react';
+import { DocsInfo } from '../docs_info';
import { CustomType, CustomTypeChild, KindString, TypeDocTypes } from '../types';
import { utils } from '../utils/utils';
import { Comment } from './comment';
import { CustomEnum } from './custom_enum';
-import { DocsInfo } from '../docs_info';
import { Enum } from './enum';
import { Interface } from './interface';
import { MethodSignature } from './method_signature';
diff --git a/packages/website/ts/components/generate_order/generate_order_form.tsx b/packages/website/ts/components/generate_order/generate_order_form.tsx
index ad78357f0..26fa904fe 100644
--- a/packages/website/ts/components/generate_order/generate_order_form.tsx
+++ b/packages/website/ts/components/generate_order/generate_order_form.tsx
@@ -1,6 +1,5 @@
-import { constants as sharedConstants } from '@0xproject/react-shared';
import { ECSignature, Order, ZeroEx } from '0x.js';
-import { colors } from '@0xproject/react-shared';
+import { colors, constants as sharedConstants } from '@0xproject/react-shared';
import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
import Dialog from 'material-ui/Dialog';
diff --git a/packages/website/ts/components/top_bar/provider_picker.tsx b/packages/website/ts/components/top_bar/provider_picker.tsx
index c837ed60e..b986da873 100644
--- a/packages/website/ts/components/top_bar/provider_picker.tsx
+++ b/packages/website/ts/components/top_bar/provider_picker.tsx
@@ -1,5 +1,4 @@
-import { constants as sharedConstants } from '@0xproject/react-shared';
-import { colors } from '@0xproject/react-shared';
+import { colors, constants as sharedConstants } from '@0xproject/react-shared';
import * as _ from 'lodash';
import { RadioButton, RadioButtonGroup } from 'material-ui/RadioButton';
import * as React from 'react';