CODEBASE: Expand lint rules, and Aliases are stored as maps (#501)

This commit is contained in:
Snarling
2023-05-05 03:55:59 -04:00
committed by GitHub
parent d25254caf1
commit ebae35b1fb
202 changed files with 905 additions and 1110 deletions
+3 -3
View File
@@ -83,14 +83,14 @@ export abstract class BaseServer implements IServer {
ramUsed = 0;
// RunningScript files on this server. Keyed first by name/args, then by PID.
runningScriptMap: Map<ScriptKey, Map<number, RunningScript>> = new Map();
runningScriptMap = new Map<ScriptKey, Map<number, RunningScript>>();
// RunningScript files loaded from the savegame. Only stored here temporarily,
// this field is undef while the game is running.
savedScripts: RunningScript[] | undefined = undefined;
// Script files on this Server
scripts: JSONMap<ScriptFilePath, Script> = new JSONMap();
scripts = new JSONMap<ScriptFilePath, Script>();
// Contains the hostnames of all servers that are immediately
// reachable from this one
@@ -106,7 +106,7 @@ export abstract class BaseServer implements IServer {
sshPortOpen = false;
// Text files on this server
textFiles: JSONMap<TextFilePath, TextFile> = new JSONMap();
textFiles = new JSONMap<TextFilePath, TextFile>();
// Flag indicating whether this is a purchased server
purchasedByPlayer = false;