chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3 (stable) (#2614)

* chore(deps): update pre-commit hook pre-commit/mirrors-prettier to v3

* style: format code using prettier v3.0.0

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: jo <ljonas@riseup.net>
This commit is contained in:
renovate[bot] 2023-07-06 21:39:05 +02:00 committed by GitHub
parent 74737cf3c4
commit 8c5512cd73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 374 additions and 374 deletions

View file

@ -46,10 +46,10 @@ function setWatchedDirEvents() {
confirm(
sprintf(
$.i18n._(
"Are you sure you want to change the storage folder?\nThis will remove the files from your %s library!"
"Are you sure you want to change the storage folder?\nThis will remove the files from your %s library!",
),
PRODUCT_NAME
)
PRODUCT_NAME,
),
)
) {
url = baseUrl + "Preference/change-stor-directory";
@ -63,7 +63,7 @@ function setWatchedDirEvents() {
$("#watched-folder-section").empty();
$("#watched-folder-section").append(json.subform);
setWatchedDirEvents();
}
},
);
} else {
$("#storageFolder").val("");
@ -83,11 +83,11 @@ function setWatchedDirEvents() {
function (json) {
$("#watched-folder-section").empty();
$("#watched-folder-section").append(
"<h2>" + $.i18n._("Manage Media Folders") + "</h2>"
"<h2>" + $.i18n._("Manage Media Folders") + "</h2>",
);
$("#watched-folder-section").append(json.subform);
setWatchedDirEvents();
}
},
);
});
@ -119,11 +119,11 @@ function setWatchedDirEvents() {
function (json) {
$("#watched-folder-section").empty();
$("#watched-folder-section").append(
"<h2>" + $.i18n._("Manage Media Folders") + "</h2>"
"<h2>" + $.i18n._("Manage Media Folders") + "</h2>",
);
$("#watched-folder-section").append(json.subform);
setWatchedDirEvents();
}
},
);
}
});