Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
FIx linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
abandeali1 committed Jan 3, 2019
1 parent 702e9b2 commit 047a842
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/protocol/test/exchange/core.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { artifacts as interfacesArtifacts, IAssetDataContract } from '@0x/contracts-interfaces';
import {
chaiSetup,
constants,
Expand Down
1 change: 1 addition & 0 deletions contracts/tokens/src/artifacts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import * as UnlimitedAllowanceToken_v1 from '../../generated-artifacts/Unlimited
import * as WETH9 from '../../generated-artifacts/WETH9.json';
import * as ZRXToken from '../../generated-artifacts/ZRXToken.json';

// tslint:disable:no-unnecessary-type-assertion
export const artifacts = {
DummyERC20Token: DummyERC20Token as ContractArtifact,
DummyMultipleReturnERC20Token: DummyMultipleReturnERC20Token as ContractArtifact,
Expand Down
2 changes: 2 additions & 0 deletions packages/pipeline/src/parsers/events/exchange_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import * as R from 'ramda';
import { ExchangeCancelEvent, ExchangeCancelUpToEvent, ExchangeFillEvent } from '../../entities';
import { bigNumbertoStringOrNull, convertAssetProxyIdToType } from '../../utils';

// tslint:disable:no-unnecessary-type-assertion

/**
* Parses raw event logs for a fill event and returns an array of
* ExchangeFillEvent entities.
Expand Down
2 changes: 2 additions & 0 deletions packages/pipeline/src/parsers/sra_orders/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import * as R from 'ramda';
import { SraOrder } from '../../entities';
import { bigNumbertoStringOrNull, convertAssetProxyIdToType } from '../../utils';

// tslint:disable:no-unnecessary-type-assertion

/**
* Parses a raw order response from an SRA endpoint and returns an array of
* SraOrder entities.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { AssetProxyId } from '@0x/types';

import { AssetType } from '../../types';

/**
* Converts an assetProxyId to its string equivalent
* @param assetProxyId Id of AssetProxy
*/
export function convertAssetProxyIdToType(assetProxyId: AssetProxyId): AssetType {
switch (assetProxyId) {
case AssetProxyId.ERC20:
Expand Down

0 comments on commit 047a842

Please sign in to comment.