Fix fixable lints

20cdcc37fce4959f81f678ead83949683f7c217f

Cohee <18619528+Cohee1207@users.noreply.github.com>

9 files changed, +5 -12Showing whitespace changes
public/script.js+1 -1
@@ -595,7 +595,7 @@ let is_delete_mode = false;
595595let fav_ch_checked = false;
596596let scrollLock = false;
597597export let abortStatusCheck = new AbortController();
598598export let charDragDropHandler = null;
599599
600600/** @type {debounce_timeout} The debounce timeout used for chat/settings save. debounce_timeout.long: 1.000 ms */
601601export const DEFAULT_SAVE_EDIT_TIMEOUT = debounce_timeout.relaxed;
public/scripts/bookmarks.js+1 -2
@@ -1,7 +1,6 @@
11import {
22 characters,
33 saveChat,
4- system_messages,
54 system_message_types,
65 this_chid,
76 openCharacterChat,
@@ -13,7 +12,7 @@ import {
1312 saveChatConditional,
1413 saveItemizedPrompts,
1514} from '../script.js';
1615import { humanizedDateTime, getMessageTimeStamp } from './RossAscends-mods.js';
1716import {
1817 getGroupPastChats,
1918 group_activation_strategy,
public/scripts/extensions/stable-diffusion/index.js+0 -1
@@ -3772,7 +3772,6 @@ async function addSDGenButtons() {
37723772 $('#sd_wand_container').append(buttonHtml);
37733773 $(document.body).append(dropdownHtml);
37743774
3775- const messageButton = $('.sd_message_gen');
37763775 const button = $('#sd_gen');
37773776 const dropdown = $('#sd_dropdown');
37783777 dropdown.hide();
public/scripts/extensions/token-counter/index.js+0 -0
public/scripts/extensions/tts/index.js+1 -1
@@ -1,5 +1,5 @@
11import { cancelTtsPlay, eventSource, event_types, getCurrentChatId, isStreamingEnabled, name2, saveSettingsDebounced, substituteParams } from '../../../script.js';
22import { ModuleWorkerWrapper, doExtrasFetch, extension_settings, getApiUrl, getContext, modules, renderExtensionTemplateAsync } from '../../extensions.js';
33import { delay, escapeRegex, getBase64Async, getStringHash, onlyUnique } from '../../utils.js';
44import { EdgeTtsProvider } from './edge.js';
55import { ElevenLabsTtsProvider } from './elevenlabs.js';
public/scripts/group-chats.js+0 -1
@@ -46,7 +46,6 @@ import {
4646 hideSwipeButtons,
4747 chat_metadata,
4848 updateChatMetadata,
49- isStreamingEnabled,
5049 getThumbnailUrl,
5150 getRequestHeaders,
5251 setMenuType,
public/scripts/slash-commands.js+1 -1
@@ -69,7 +69,7 @@ import { SlashCommand } from './slash-commands/SlashCommand.js';
6969import { SlashCommandAbortController } from './slash-commands/SlashCommandAbortController.js';
7070import { SlashCommandNamedArgumentAssignment } from './slash-commands/SlashCommandNamedArgumentAssignment.js';
7171import { SlashCommandEnumValue, enumTypes } from './slash-commands/SlashCommandEnumValue.js';
7272import { POPUP_RESULT, POPUP_TYPE, Popup, callGenericPopup } from './popup.js';
7373import { commonEnumProviders, enumIcons } from './slash-commands/SlashCommandCommonEnumsProvider.js';
7474import { SlashCommandBreakController } from './slash-commands/SlashCommandBreakController.js';
7575import { SlashCommandExecutionError } from './slash-commands/SlashCommandExecutionError.js';
public/scripts/world-info.js+1 -1
@@ -1,6 +1,6 @@
11import { Fuse } from '../lib.js';
22
33import { saveSettings, callPopup, substituteParams, getRequestHeaders, chat_metadata, this_chid, characters, saveCharacterDebounced, menu_type, eventSource, event_types, getExtensionPromptByName, saveMetadata, getCurrentChatId, extension_prompt_roles } from '../script.js';
44import { download, debounce, initScrollHeight, resetScrollHeight, parseJsonFile, extractDataFromPng, getFileBuffer, getCharaFilename, getSortableDelay, escapeRegex, PAGINATION_TEMPLATE, navigation_option, waitUntilCondition, isTrueBoolean, setValueByPath, flashHighlight, select2ModifyOptions, getSelect2OptionId, dynamicSelect2DataViaAjax, highlightRegex, select2ChoiceClickSubscribe, isFalseBoolean, getSanitizedFilename, checkOverwriteExistingData, getStringHash, parseStringArray, cancelDebounce, findChar, onlyUnique } from './utils.js';
55import { extension_settings, getContext } from './extensions.js';
66import { NOTE_MODULE_NAME, metadata_keys, shouldWIAddPrompt } from './authors-note.js';
src/test.js+0 -4
@@ -1,4 +0,0 @@
1-const test={
2-"FOO":"BAR"
3-}
4-