diff --git a/src/Infiltration.js b/src/Infiltration.js index 504c3407f..4c41ff3c4 100644 --- a/src/Infiltration.js +++ b/src/Infiltration.js @@ -468,6 +468,8 @@ function updateInfiltrationLevelText(inst) { } var expMultiplier = 2 * inst.clearanceLevel / inst.maxClearanceLevel; + // TODO: fix this to not rely on
and whitespace for formatting...
+ /* eslint-disable no-irregular-whitespace */
document.getElementById("infiltration-level-text").innerHTML =
"Facility name: " + inst.companyName + "
" +
"Clearance Level: " + inst.clearanceLevel + "
" +
@@ -481,6 +483,7 @@ function updateInfiltrationLevelText(inst) {
"Dex exp gained: " + formatNumber(inst.dexExpGained * expMultiplier, 3) + "
" +
"Agi exp gained: " + formatNumber(inst.agiExpGained * expMultiplier, 3) + "
" +
"Cha exp gained: " + formatNumber(inst.chaExpGained * expMultiplier, 3);
+ /* eslint-enable no-irregular-whitespace */
}
function updateInfiltrationButtons(inst, scenario) {
diff --git a/src/Terminal.js b/src/Terminal.js
index def530d1c..113421760 100644
--- a/src/Terminal.js
+++ b/src/Terminal.js
@@ -1400,6 +1400,7 @@ let Terminal = {
post("Incorrect usage of scan-analyze command. usage: scan-analyze [depth]");
}
break;
+ /* eslint-disable no-case-declarations */
case "scp":
if (commandArray.length != 2) {
post("Incorrect usage of scp command. Usage: scp [file] [destination hostname/ip]");
@@ -1493,6 +1494,7 @@ let Terminal = {
}
post(`${scriptname} copied over to ${destServer.hostname}`);
break;
+ /* eslint-enable no-case-declarations */
case "sudov":
if (commandArray.length != 1) {
post("Incorrect number of arguments. Usage: sudov"); return;
@@ -1616,6 +1618,7 @@ let Terminal = {
}
}
break;
+ /* eslint-disable no-case-declarations */
case "wget":
if (commandArray.length !== 2) {
return post("Incorrect usage of wget command. Usage: wget [url] [target file]");
@@ -1648,6 +1651,7 @@ let Terminal = {
return post("wget failed: " + JSON.stringify(e));
})
break;
+ /* eslint-enable no-case-declarations */
default:
post("Command not found");
}