From 4370672d6020a50c291d1e9d3b0f32abef96715d Mon Sep 17 00:00:00 2001 From: Romein van Buren Date: Mon, 7 Aug 2023 18:21:45 +0200 Subject: [PATCH] Lint code --- frontend/src/app.svelte | 14 +-- frontend/src/components/contextmenu.svelte | 2 +- .../src/components/editors/codeeditor.svelte | 2 +- .../src/components/editors/datepicker.svelte | 4 +- .../editors/directorychooser.svelte | 10 +- .../src/components/editors/forminput.svelte | 45 ++++++-- .../components/editors/objecteditor.svelte | 4 +- .../src/components/grid/grid-items.svelte | 19 +++- frontend/src/components/grid/grid.svelte | 6 +- .../src/components/grid/objectgrid.svelte | 3 +- frontend/src/components/modal.svelte | 2 +- frontend/src/components/objectviewer.svelte | 2 +- frontend/src/dialogs/about.svelte | 4 +- frontend/src/dialogs/settings/index.svelte | 12 +- frontend/src/lib/actions/alink.js | 2 +- frontend/src/lib/actions/controlkey.js | 2 +- frontend/src/lib/actions/input.js | 6 +- frontend/src/lib/dialogs.js | 2 +- frontend/src/lib/mongo/collation.svelte | 2 +- frontend/src/lib/progress.js | 2 +- frontend/src/lib/stores/environment.js | 2 +- frontend/src/lib/stores/hosttree.js | 34 ++++-- frontend/src/lib/stores/inited.js | 4 +- frontend/src/lib/stores/queries.js | 2 +- frontend/src/lib/stores/settings.js | 2 +- frontend/src/lib/stores/sharedstate.js | 2 +- frontend/src/lib/stores/views.js | 4 +- frontend/src/lib/stores/windowtitle.js | 2 +- frontend/src/main.js | 2 +- .../connection/collection/aggregate.svelte | 8 +- .../collection/components/form.svelte | 11 +- .../collection/dialogs/duplicate.svelte | 6 +- .../collection/dialogs/export.svelte | 2 +- .../collection/dialogs/indexdetail.svelte | 14 ++- .../collection/dialogs/querychooser.svelte | 8 +- .../collection/dialogs/viewconfig.svelte | 60 ++++++++-- .../connection/collection/find.svelte | 105 +++++++++++++----- .../connection/collection/index.svelte | 16 +-- .../connection/collection/indexes.svelte | 2 + .../connection/collection/insert.svelte | 10 +- .../connection/collection/remove.svelte | 4 +- .../connection/collection/update.svelte | 39 +++++-- .../connection/database/dialogs/dump.svelte | 8 +- .../connection/database/index.svelte | 6 +- .../connection/host/dialogs/hostdetail.svelte | 14 ++- .../organisms/connection/host/index.svelte | 10 +- .../src/organisms/connection/host/logs.svelte | 14 ++- .../src/organisms/connection/hosttree.svelte | 2 +- .../src/organisms/connection/index.svelte | 6 +- .../src/organisms/connection/shell.svelte | 6 +- frontend/vite.config.js | 8 +- 51 files changed, 380 insertions(+), 178 deletions(-) diff --git a/frontend/src/app.svelte b/frontend/src/app.svelte index 8f5bb71..7b42353 100644 --- a/frontend/src/app.svelte +++ b/frontend/src/app.svelte @@ -1,14 +1,14 @@ -
+