From c02e9fdb88e4d2159fd34eea95c82d544d25ded1 Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Mon, 1 Sep 2025 15:08:06 -0300 Subject: [PATCH] misc: Apply import sorting --- frontend/eslint.config.js | 4 +- frontend/src/RomM.vue | 4 +- frontend/src/components/Details/ActionBar.vue | 6 +-- frontend/src/components/Details/GameData.vue | 2 +- .../src/components/Details/Info/GameInfo.vue | 15 ++++---- frontend/src/components/Details/PDFViewer.vue | 2 +- frontend/src/components/Details/Personal.vue | 10 ++--- .../components/Details/RetroAchievements.vue | 6 +-- frontend/src/components/Details/Saves.vue | 2 +- frontend/src/components/Details/States.vue | 10 ++--- frontend/src/components/Details/Title.vue | 6 +-- .../src/components/Gallery/AppBar/Base.vue | 10 ++--- .../Gallery/AppBar/Collection/Base.vue | 2 +- .../Collection/CollectionInfoDrawer.vue | 4 +- .../Collection/SmartCollectionInfoDrawer.vue | 2 +- .../Gallery/AppBar/Platform/Base.vue | 6 +-- .../AppBar/Platform/FirmwareDrawer.vue | 4 +- .../AppBar/Platform/PlatformInfoDrawer.vue | 2 +- .../Gallery/AppBar/Search/SearchTextField.vue | 6 +-- .../Gallery/AppBar/common/CharIndexBar.vue | 2 +- .../AppBar/common/ContextualRandomBtn.vue | 6 +-- .../AppBar/common/FilterDrawer/Base.vue | 18 ++++----- .../AppBar/common/SmartCollectionBtn.vue | 8 ++-- .../Gallery/AppBar/common/SortBar.vue | 4 +- .../src/components/Gallery/FabOverlay.vue | 2 +- frontend/src/components/Gallery/Skeleton.vue | 8 ++-- .../src/components/Home/ContinuePlaying.vue | 4 +- frontend/src/components/Home/Platforms.vue | 4 +- .../src/components/Home/PlatformsSkeleton.vue | 4 +- frontend/src/components/Home/RecentAdded.vue | 4 +- .../components/Home/RecentAddedSkeleton.vue | 4 +- .../src/components/Settings/AboutDialog.vue | 4 +- .../Settings/Administration/TaskOption.vue | 6 +-- .../Settings/Administration/Tasks.vue | 2 +- .../Users/Dialog/CreateUser.vue | 2 +- .../Administration/Users/Dialog/EditUser.vue | 2 +- .../Users/Dialog/InviteLink.vue | 4 +- .../Settings/Administration/Users/Table.vue | 2 +- .../Config/Dialog/CreateExclusion.vue | 4 +- .../Config/Dialog/CreatePlatformBinding.vue | 4 +- .../Config/Dialog/CreatePlatformVersion.vue | 4 +- .../LibraryManagement/Config/Excluded.vue | 2 +- .../Settings/ServerStats/PlatformsStats.vue | 2 +- .../Settings/ServerStats/SummaryStats.vue | 2 +- .../Settings/UserInterface/Interface.vue | 4 +- .../Settings/UserInterface/Language.vue | 2 +- .../UserInterface/LanguageSelector.vue | 4 +- .../Settings/UserInterface/Theme.vue | 2 +- .../Settings/UserInterface/ThemeOption.vue | 2 +- .../UserProfile/RetroAchievements.vue | 8 ++-- .../src/components/common/Collection/Card.vue | 8 ++-- .../common/Collection/Dialog/AddRoms.vue | 4 +- .../Collection/Dialog/CreateCollection.vue | 6 +-- .../Dialog/CreateSmartCollection.vue | 20 +++++----- .../Collection/Dialog/DeleteCollection.vue | 4 +- .../Dialog/DeleteSmartCollection.vue | 4 +- .../common/Collection/Dialog/RemoveRoms.vue | 6 +-- .../components/common/Collection/ListItem.vue | 2 +- .../components/common/Collection/RAvatar.vue | 4 +- .../src/components/common/Game/AdminMenu.vue | 8 ++-- .../components/common/Game/Card/ActionBar.vue | 8 ++-- .../src/components/common/Game/Card/Base.vue | 20 +++++----- .../src/components/common/Game/Card/Flags.vue | 2 +- .../components/common/Game/Card/Skeleton.vue | 4 +- .../common/Game/Dialog/Asset/SelectSave.vue | 6 +-- .../common/Game/Dialog/Asset/SelectState.vue | 6 +-- .../common/Game/Dialog/CopyDownloadLink.vue | 2 +- .../common/Game/Dialog/DeleteRom.vue | 12 +++--- .../components/common/Game/Dialog/EditRom.vue | 4 +- .../common/Game/Dialog/MatchRom.vue | 14 +++---- .../common/Game/Dialog/NoteDialog.vue | 6 +-- .../common/Game/Dialog/ShowQRCode.vue | 4 +- .../common/Game/Dialog/UploadRom.vue | 4 +- .../src/components/common/Game/FavBtn.vue | 4 +- .../src/components/common/Game/ListItem.vue | 4 +- frontend/src/components/common/Game/Table.vue | 8 ++-- .../common/Navigation/CollectionsDrawer.vue | 8 ++-- .../components/common/Navigation/HomeBtn.vue | 4 +- .../common/Navigation/MainAppBar.vue | 12 +++--- .../common/Navigation/PlatformsDrawer.vue | 6 +-- .../common/Navigation/SettingsDrawer.vue | 6 +-- .../src/components/common/Platform/Card.vue | 8 ++-- .../common/Platform/Dialog/DeletePlatform.vue | 10 ++--- .../components/common/Platform/ListItem.vue | 2 +- .../src/components/common/SearchCover.vue | 2 +- frontend/src/composables/useFavoriteToggle.ts | 2 +- frontend/src/console/Layout.vue | 14 +++---- .../src/console/components/CollectionCard.vue | 4 +- frontend/src/console/components/GameCard.vue | 7 ++-- .../src/console/components/NavigationText.vue | 2 +- .../console/components/ScreenshotLightbox.vue | 2 +- .../src/console/components/SettingsModal.vue | 10 ++--- .../src/console/components/SystemCard.vue | 4 +- .../src/console/composables/useInputScope.ts | 4 +- .../src/console/composables/useThemeAssets.ts | 4 +- frontend/src/console/input/bus.ts | 2 +- frontend/src/console/input/config.ts | 4 +- frontend/src/console/input/gamepad.ts | 2 +- frontend/src/console/utils/sfx.ts | 3 +- frontend/src/console/views/Game.vue | 16 ++++---- frontend/src/console/views/GamesList.vue | 26 ++++++------- frontend/src/console/views/Home.vue | 38 +++++++++---------- frontend/src/console/views/Play.vue | 18 ++++----- frontend/src/layouts/Main.vue | 18 ++++----- frontend/src/main.ts | 2 +- frontend/src/plugins/index.ts | 6 +-- frontend/src/plugins/pinia.ts | 2 +- frontend/src/plugins/router.ts | 16 ++++---- frontend/src/plugins/vuetify.ts | 4 +- frontend/src/services/api/rom.ts | 6 +-- frontend/src/services/api/save.ts | 2 +- frontend/src/services/api/screenshot.ts | 2 +- frontend/src/services/api/state.ts | 2 +- frontend/src/services/api/task.ts | 2 +- frontend/src/stores/auth.ts | 4 +- frontend/src/stores/collections.ts | 4 +- frontend/src/stores/config.ts | 3 +- frontend/src/stores/consoleTheme.ts | 2 +- frontend/src/stores/download.ts | 2 +- frontend/src/stores/heartbeat.ts | 2 +- frontend/src/stores/navigation.ts | 2 +- frontend/src/stores/scanning.ts | 2 +- frontend/src/stores/tasks.ts | 4 +- frontend/src/stores/users.ts | 2 +- frontend/src/utils/index.ts | 10 ++--- frontend/src/views/Auth/Login.vue | 6 +-- frontend/src/views/Auth/Register.vue | 6 +-- frontend/src/views/Auth/ResetPassword.vue | 6 +-- frontend/src/views/Auth/Setup.vue | 6 +-- .../Gallery/Collection/BaseCollection.vue | 6 +-- frontend/src/views/Gallery/Platform.vue | 6 +-- frontend/src/views/Gallery/Search.vue | 12 +++--- frontend/src/views/GameDetails.vue | 6 +-- frontend/src/views/Home.vue | 16 ++++---- frontend/src/views/Player/EmulatorJS/Base.vue | 22 +++++------ .../views/Player/EmulatorJS/CacheDialog.vue | 2 +- .../src/views/Player/EmulatorJS/Player.vue | 26 ++++++------- frontend/src/views/Player/EmulatorJS/utils.ts | 4 +- frontend/src/views/Player/RuffleRS/Base.vue | 4 +- frontend/src/views/Scan.vue | 8 ++-- .../src/views/Settings/Administration.vue | 2 +- .../src/views/Settings/LibraryManagement.vue | 12 +++--- frontend/src/views/Settings/ServerStats.vue | 2 +- frontend/src/views/Settings/UserInterface.vue | 2 +- frontend/src/views/Settings/UserProfile.vue | 6 +-- frontend/vite.config.js | 11 ++---- 146 files changed, 447 insertions(+), 450 deletions(-) diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 6cf41579b..cb18ee325 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -1,7 +1,7 @@ import eslint from "@eslint/js"; -import tseslint from "typescript-eslint"; -import globals from "globals"; import vue from "eslint-plugin-vue"; +import globals from "globals"; +import tseslint from "typescript-eslint"; export default tseslint.config( eslint.configs.recommended, diff --git a/frontend/src/RomM.vue b/frontend/src/RomM.vue index 62a5835f0..7665bacd1 100644 --- a/frontend/src/RomM.vue +++ b/frontend/src/RomM.vue @@ -1,10 +1,10 @@ diff --git a/frontend/src/components/Settings/AboutDialog.vue b/frontend/src/components/Settings/AboutDialog.vue index b6875e5e6..33e14fcbc 100644 --- a/frontend/src/components/Settings/AboutDialog.vue +++ b/frontend/src/components/Settings/AboutDialog.vue @@ -1,10 +1,10 @@