Fixed high number of ESLint errors

This commit is contained in:
Daniël van Noord
2021-04-04 17:05:39 +02:00
parent e2f99d1cf9
commit e3321ebe2f
53 changed files with 130 additions and 182 deletions

View File

@@ -1,4 +1,3 @@
/* eslint-disable no-unused-vars */
import {
CacheDragonAura,
CacheDragonAura2,
@@ -41,7 +40,7 @@ export default function CalculateChangeAura(aura) {
if (Game.ObjectsById[i].amount > 0) {
const highestBuilding = SimObjects[Game.ObjectsById[i].name].name;
SimObjects[highestBuilding].amount -= 1;
SimBuildingsOwned -= 1;
SimBuildingsOwned -= 1; // eslint-disable-line no-unused-vars
price =
SimObjects[highestBuilding].basePrice *
Game.priceIncrease **