Updated ESLint to 7.25.0

This commit is contained in:
Daniël van Noord
2021-05-02 11:44:27 +02:00
parent eb71fd9bd2
commit 941ccfeb79
38 changed files with 148 additions and 148 deletions

View File

@@ -12,7 +12,7 @@ import {
SimObjects,
SimPledges,
SimUpgrades,
SimUpgradesOwned,
SimUpgradesOwned, // eslint-disable-line no-unused-vars
} from '../VariablesAndData';
/**
@@ -122,7 +122,7 @@ export default function BuyUpgradesBonusIncome(upgrade) {
} else {
SimUpgrades[upgrade].bought = (SimUpgrades[upgrade].bought + 1) % 2;
}
if (Game.CountsAsUpgradeOwned(Game.Upgrades[upgrade].pool)) SimUpgradesOwned += 1; // eslint-disable-line no-unused-vars
if (Game.CountsAsUpgradeOwned(Game.Upgrades[upgrade].pool)) SimUpgradesOwned += 1;
if (upgrade === 'Elder Pledge') {
SimPledges += 1;