Remove tslint-immutable linter plugin
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// tslint:disable: no-object-mutation
|
||||
import { UserProfile } from "@iov/keycontrol";
|
||||
import cors = require("@koa/cors");
|
||||
import Koa from "koa";
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// tslint:disable: no-object-mutation
|
||||
import { TokenTicker } from "@iov/bcp";
|
||||
|
||||
import { creditAmount, refillAmount, refillThreshold, setFractionalDigits } from "./cashflow";
|
||||
|
||||
@@ -30,7 +30,6 @@ export async function loadAccounts(
|
||||
const codec = codecImplementation();
|
||||
const addresses = identitiesOfFirstWallet(profile).map(identity => codec.identityToAddress(identity));
|
||||
|
||||
// tslint:disable-next-line: readonly-array
|
||||
const out: Account[] = [];
|
||||
for (const address of addresses) {
|
||||
const response = await connection.getAccount({ address: address });
|
||||
@@ -104,7 +103,6 @@ export async function refill(profile: UserProfile, connection: BlockchainConnect
|
||||
const availableTokens = availableTokensFromHolder(holderAccount);
|
||||
console.info("Available tokens:", availableTokens);
|
||||
|
||||
// tslint:disable-next-line: readonly-array
|
||||
const jobs: SendJob[] = [];
|
||||
|
||||
for (const token of availableTokens) {
|
||||
|
||||
Reference in New Issue
Block a user