Fix eslint issues in tags.js

e26ea475543fe495ee5202845f574cb39988732b

Wolfsblvt <wolfsblvt@gmail.com>

1 files changed, +4 -6Showing whitespace changes
public/scripts/tags.js+4 -6
@@ -9,24 +9,21 @@ import {
99 eventSource,
1010 event_types,
1111 DEFAULT_PRINT_TIMEOUT,
12- substituteParams,
1312 printCharacters,
1413} from '../script.js';
1514// eslint-disable-next-line no-unused-vars
1615import { FILTER_TYPES, FILTER_STATES, DEFAULT_FILTER_STATE, isFilterState, FilterHelper } from './filters.js';
1716
1817import { groupCandidatesFilter, groups, select_group_chats, selected_group } from './group-chats.js';
1918import { download, onlyUnique, parseJsonFile, uuidv4, getSortableDelay, flashHighlight, equalsIgnoreCaseAndAccents, includesIgnoreCaseAndAccents, removeFromArray, getFreeName, debounce } from './utils.js';
2019import { power_user } from './power-user.js';
2120import { SlashCommandParser } from './slash-commands/SlashCommandParser.js';
2221import { SlashCommand } from './slash-commands/SlashCommand.js';
2322import { ARGUMENT_TYPE, SlashCommandArgument, SlashCommandNamedArgument } from './slash-commands/SlashCommandArgument.js';
2423import { isMobile } from './RossAscends-mods.js';
2524import { POPUP_RESULT, POPUP_TYPE, Popup, callGenericPopup } from './popup.js';
2625import { debounce_timeout } from './constants.js';
2726import { INTERACTABLE_CONTROL_CLASS } from './keyboard.js';
28-import { SlashCommandEnumValue } from './slash-commands/SlashCommandEnumValue.js';
29-import { SlashCommandExecutor } from './slash-commands/SlashCommandExecutor.js';
3027import { commonEnumProviders } from './slash-commands/SlashCommandCommonEnumsProvider.js';
3128import { renderTemplateAsync } from './templates.js';
3229
@@ -53,6 +50,7 @@ export {
5350 removeTagFromMap,
5451};
5552
53+/** @typedef {import('../scripts/popup.js').Popup} Popup */
5654/** @typedef {import('../script.js').Character} Character */
5755
5856const CHARACTER_FILTER_SELECTOR = '#rm_characters_block .rm_tag_filter';
@@ -815,7 +813,7 @@ async function showTagImportPopup(character, existingTags, newTags, folderTags)
815813 wider: true, okButton: 'Import', cancelButton: true,
816814 customButtons: Object.values(importButtons),
817815 customInputs: [{ id: 'import_remember_option', label: 'Remember my choice', tooltip: 'Remember the chosen import option\nIf anything besides \'Cancel\' is selected, this dialog will not show up anymore.\nTo change this, go to the settings and modify "Tag Import Option".\n\nIf the "Import" option is chosen, the global setting will stay on "Ask".' }],
818816 onClose: onCloseRemember,
819817 });
820818 if (!result) {
821819 return [];