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;
595let fav_ch_checked = false;595let fav_ch_checked = false;
596let scrollLock = false;596let scrollLock = false;
597export let abortStatusCheck = new AbortController();597export let abortStatusCheck = new AbortController();
598let charDragDropHandler = null;598export let charDragDropHandler = null;
599599
600/** @type {debounce_timeout} The debounce timeout used for chat/settings save. debounce_timeout.long: 1.000 ms */600/** @type {debounce_timeout} The debounce timeout used for chat/settings save. debounce_timeout.long: 1.000 ms */
601export const DEFAULT_SAVE_EDIT_TIMEOUT = debounce_timeout.relaxed;601export const DEFAULT_SAVE_EDIT_TIMEOUT = debounce_timeout.relaxed;
public/scripts/bookmarks.js+1 -2
@@ -1,7 +1,6 @@
1import {1import {
2 characters,2 characters,
3 saveChat,3 saveChat,
4 system_messages,
5 system_message_types,4 system_message_types,
6 this_chid,5 this_chid,
7 openCharacterChat,6 openCharacterChat,
@@ -13,7 +12,7 @@ import {
13 saveChatConditional,12 saveChatConditional,
14 saveItemizedPrompts,13 saveItemizedPrompts,
15} from '../script.js';14} from '../script.js';
16import { humanizedDateTime, getMessageTimeStamp } from './RossAscends-mods.js';15import { humanizedDateTime } from './RossAscends-mods.js';
17import {16import {
18 getGroupPastChats,17 getGroupPastChats,
19 group_activation_strategy,18 group_activation_strategy,
public/scripts/extensions/stable-diffusion/index.js+0 -1
@@ -3772,7 +3772,6 @@ async function addSDGenButtons() {
3772 $('#sd_wand_container').append(buttonHtml);3772 $('#sd_wand_container').append(buttonHtml);
3773 $(document.body).append(dropdownHtml);3773 $(document.body).append(dropdownHtml);
37743774
3775 const messageButton = $('.sd_message_gen');
3776 const button = $('#sd_gen');3775 const button = $('#sd_gen');
3777 const dropdown = $('#sd_dropdown');3776 const dropdown = $('#sd_dropdown');
3778 dropdown.hide();3777 dropdown.hide();
public/scripts/extensions/token-counter/index.js+0 -0
public/scripts/extensions/tts/index.js+1 -1
@@ -1,5 +1,5 @@
1import { cancelTtsPlay, eventSource, event_types, getCurrentChatId, isStreamingEnabled, name2, saveSettingsDebounced, substituteParams } from '../../../script.js';1import { cancelTtsPlay, eventSource, event_types, getCurrentChatId, isStreamingEnabled, name2, saveSettingsDebounced, substituteParams } from '../../../script.js';
2import { ModuleWorkerWrapper, doExtrasFetch, extension_settings, getApiUrl, getContext, modules, renderExtensionTemplateAsync } from '../../extensions.js';2import { ModuleWorkerWrapper, extension_settings, getContext, renderExtensionTemplateAsync } from '../../extensions.js';
3import { delay, escapeRegex, getBase64Async, getStringHash, onlyUnique } from '../../utils.js';3import { delay, escapeRegex, getBase64Async, getStringHash, onlyUnique } from '../../utils.js';
4import { EdgeTtsProvider } from './edge.js';4import { EdgeTtsProvider } from './edge.js';
5import { ElevenLabsTtsProvider } from './elevenlabs.js';5import { ElevenLabsTtsProvider } from './elevenlabs.js';
public/scripts/group-chats.js+0 -1
@@ -46,7 +46,6 @@ import {
46 hideSwipeButtons,46 hideSwipeButtons,
47 chat_metadata,47 chat_metadata,
48 updateChatMetadata,48 updateChatMetadata,
49 isStreamingEnabled,
50 getThumbnailUrl,49 getThumbnailUrl,
51 getRequestHeaders,50 getRequestHeaders,
52 setMenuType,51 setMenuType,
public/scripts/slash-commands.js+1 -1
@@ -69,7 +69,7 @@ import { SlashCommand } from './slash-commands/SlashCommand.js';
69import { SlashCommandAbortController } from './slash-commands/SlashCommandAbortController.js';69import { SlashCommandAbortController } from './slash-commands/SlashCommandAbortController.js';
70import { SlashCommandNamedArgumentAssignment } from './slash-commands/SlashCommandNamedArgumentAssignment.js';70import { SlashCommandNamedArgumentAssignment } from './slash-commands/SlashCommandNamedArgumentAssignment.js';
71import { SlashCommandEnumValue, enumTypes } from './slash-commands/SlashCommandEnumValue.js';71import { SlashCommandEnumValue, enumTypes } from './slash-commands/SlashCommandEnumValue.js';
72import { POPUP_RESULT, POPUP_TYPE, Popup, callGenericPopup } from './popup.js';72import { POPUP_TYPE, Popup, callGenericPopup } from './popup.js';
73import { commonEnumProviders, enumIcons } from './slash-commands/SlashCommandCommonEnumsProvider.js';73import { commonEnumProviders, enumIcons } from './slash-commands/SlashCommandCommonEnumsProvider.js';
74import { SlashCommandBreakController } from './slash-commands/SlashCommandBreakController.js';74import { SlashCommandBreakController } from './slash-commands/SlashCommandBreakController.js';
75import { SlashCommandExecutionError } from './slash-commands/SlashCommandExecutionError.js';75import { SlashCommandExecutionError } from './slash-commands/SlashCommandExecutionError.js';
public/scripts/world-info.js+1 -1
@@ -1,6 +1,6 @@
1import { Fuse } from '../lib.js';1import { Fuse } from '../lib.js';
22
3import { saveSettings, callPopup, substituteParams, getRequestHeaders, chat_metadata, this_chid, characters, saveCharacterDebounced, menu_type, eventSource, event_types, getExtensionPromptByName, saveMetadata, getCurrentChatId, extension_prompt_roles } from '../script.js';3import { saveSettings, substituteParams, getRequestHeaders, chat_metadata, this_chid, characters, saveCharacterDebounced, menu_type, eventSource, event_types, getExtensionPromptByName, saveMetadata, getCurrentChatId, extension_prompt_roles } from '../script.js';
4import { 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';4import { 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';
5import { extension_settings, getContext } from './extensions.js';5import { extension_settings, getContext } from './extensions.js';
6import { NOTE_MODULE_NAME, metadata_keys, shouldWIAddPrompt } from './authors-note.js';6import { NOTE_MODULE_NAME, metadata_keys, shouldWIAddPrompt } from './authors-note.js';
src/test.js+0 -4
@@ -1,4 +0,0 @@
1const test={
2"FOO":"BAR"
3}
4