lint: Require semicolons

This commit is contained in:
Cohee
2023-12-02 21:11:06 +02:00
parent 2ec14a59ee
commit c63cd87cc0
67 changed files with 1554 additions and 1552 deletions

View File

@ -119,7 +119,7 @@ async function onRegexEditorOpenClick(existingId) {
if (existingScript.scriptName) {
editorHtml.find('.regex_script_name').val(existingScript.scriptName);
} else {
toastr.error('This script doesn\'t have a name! Please delete it.')
toastr.error('This script doesn\'t have a name! Please delete it.');
return;
}
@ -176,7 +176,7 @@ async function onRegexEditorOpenClick(existingId) {
editorHtml
.find('input[name="replace_position"]')
.filter(':checked')
.map(function () { return parseInt($(this).val()) })
.map(function () { return parseInt($(this).val()); })
.get()
.filter((e) => !isNaN(e)) || [],
disabled:
@ -222,8 +222,8 @@ function migrateSettings() {
Object.values(regex_placement).filter((e) => e !== regex_placement.MD_DISPLAY) :
script.placement = script.placement.filter((e) => e !== regex_placement.MD_DISPLAY);
script.markdownOnly = true
script.promptOnly = true
script.markdownOnly = true;
script.promptOnly = true;
performSave = true;
}