From 0d437e5b7302fe20b53dfbffe53dc6c78337c3fa Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 20 May 2022 18:20:04 -0400 Subject: [PATCH] lint --- src/Hospital/Hospital.ts | 1 - src/NetscriptFunctions/Singularity.ts | 4 ++-- src/PersonObjects/Person.ts | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Hospital/Hospital.ts b/src/Hospital/Hospital.ts index 057afcbef..c392df19c 100644 --- a/src/Hospital/Hospital.ts +++ b/src/Hospital/Hospital.ts @@ -1,6 +1,5 @@ import { IPlayer } from "../PersonObjects/IPlayer"; import { CONSTANTS } from "../Constants"; -import { IPerson } from "../PersonObjects/IPerson"; export function getHospitalizationCost(p: IPlayer): number { if (p.money < 0) { diff --git a/src/NetscriptFunctions/Singularity.ts b/src/NetscriptFunctions/Singularity.ts index 0d8c04e77..8cf3ffc5a 100644 --- a/src/NetscriptFunctions/Singularity.ts +++ b/src/NetscriptFunctions/Singularity.ts @@ -29,7 +29,7 @@ import { Router } from "../ui/GameRoot"; import { SpecialServers } from "../Server/data/SpecialServers"; import { Page } from "../ui/Router"; import { Locations } from "../Locations/Locations"; -import { GetServer, AddToAllServers, createUniqueRandomIp } from "../Server/AllServers"; +import { GetServer } from "../Server/AllServers"; import { Programs } from "../Programs/Programs"; import { numeralWrapper } from "../ui/numeralFormat"; import { BitNodeMultipliers } from "../BitNode/BitNodeMultipliers"; @@ -39,7 +39,7 @@ import { Factions, factionExists } from "../Faction/Factions"; import { Faction } from "../Faction/Faction"; import { netscriptDelay } from "../NetscriptEvaluator"; import { convertTimeMsToTimeElapsedString } from "../utils/StringHelperFunctions"; -import { getServerOnNetwork, safetlyCreateUniqueServer } from "../Server/ServerHelpers"; +import { getServerOnNetwork } from "../Server/ServerHelpers"; import { Terminal } from "../Terminal"; import { calculateHackingTime } from "../Hacking"; import { Server } from "../Server/Server"; diff --git a/src/PersonObjects/Person.ts b/src/PersonObjects/Person.ts index 82f208c1d..8790a26b8 100644 --- a/src/PersonObjects/Person.ts +++ b/src/PersonObjects/Person.ts @@ -7,8 +7,6 @@ import { CONSTANTS } from "../Constants"; import { calculateSkill } from "./formulas/skill"; import { calculateIntelligenceBonus } from "./formulas/intelligence"; import { IPerson } from "./IPerson"; -import { Reviver } from "../utils/JSONReviver"; -import { ITaskTracker } from "./ITaskTracker"; // Base class representing a person-like object export abstract class Person implements IPerson {