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 { CMOptions } from '../../Config/VariablesAndData';
import { FormatTime } from '../../Disp/BeautifyAndFormatting/BeautifyFormatting';
@@ -47,8 +46,8 @@ function ReplaceNativeGrimoireLaunch() {
Game.Objects['Wizard tower'].minigameLoaded
) {
const { minigame } = Game.Objects['Wizard tower'];
BackupGrimoireLaunch = minigame.launch;
BackupGrimoireLaunchMod = new Function(
BackupGrimoireLaunch = minigame.launch; // eslint-disable-line no-unused-vars
BackupGrimoireLaunchMod = new Function( // eslint-disable-line no-new-func
`return ${minigame.launch
.toString()
.split('=this')