Change prettier option trailingComma from "none" to the new default "es5" (see https://prettier.io/docs/en/options.html#trailing-commas)

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2021-06-23 11:26:43 +02:00
parent 731bb98820
commit 0d0a8dba67
20 changed files with 192 additions and 192 deletions

View File

@@ -88,7 +88,7 @@ $(function () {
url: "api_db.php?messages",
data: { token: token },
type: "POST",
dataSrc: "messages"
dataSrc: "messages",
},
order: [[0, "asc"]],
columns: [
@@ -100,7 +100,7 @@ $(function () {
{ data: "blob2", visible: false },
{ data: "blob3", visible: false },
{ data: "blob4", visible: false },
{ data: "blob5", visible: false }
{ data: "blob5", visible: false },
],
dom:
"<'row'<'col-sm-4'l><'col-sm-8'f>>" +
@@ -108,10 +108,10 @@ $(function () {
"<'row'<'col-sm-5'i><'col-sm-7'p>>",
lengthMenu: [
[10, 25, 50, 100, -1],
[10, 25, 50, 100, "All"]
[10, 25, 50, 100, "All"],
],
language: {
emptyTable: "No issues found."
emptyTable: "No issues found.",
},
stateSave: true,
stateSaveCallback: function (settings, data) {
@@ -134,6 +134,6 @@ $(function () {
// Apply loaded state to table
return data;
}
},
});
});