Enable no-unused-vars lint

This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
This commit is contained in:
valadaptive
2023-12-02 11:25:30 -05:00
parent 39bbef376f
commit 518bb58d5a
29 changed files with 25 additions and 113 deletions

View File

@ -1,4 +1,4 @@
import { callPopup, eventSource, event_types, getRequestHeaders, saveSettingsDebounced, this_chid } from "../../../script.js";
import { callPopup, eventSource, event_types, getRequestHeaders, saveSettingsDebounced } from "../../../script.js";
import { dragElement, isMobile } from "../../RossAscends-mods.js";
import { getContext, getApiUrl, modules, extension_settings, ModuleWorkerWrapper, doExtrasFetch, renderExtensionTemplate } from "../../extensions.js";
import { loadMovingUIState, power_user } from "../../power-user.js";
@ -393,7 +393,6 @@ async function unloadLiveChar() {
if (!loadResponse.ok) {
throw new Error(loadResponse.statusText);
}
const loadResponseText = await loadResponse.text();
//console.log(`Response: ${loadResponseText}`);
} catch (error) {
//console.error(`Error unloading - ${error}`);