From bdd2c9cb6fc0681f300d2b1e9a8f232f5ac3cbc6 Mon Sep 17 00:00:00 2001 From: Antonio Ventilii <169057656+AntonioVentilii-DFINITY@users.noreply.github.com> Date: Fri, 6 Sep 2024 17:28:41 +0200 Subject: [PATCH] feat(lint): sort svelte imports (#2270) # Motivation More svelte imports sorted. --- .eslintrc.cjs | 1 + .../src/lib/components/core/Back.svelte | 4 ++-- .../src/lib/components/core/Erc20Icp.svelte | 2 +- .../src/lib/components/core/Listener.svelte | 8 +++---- .../src/lib/components/core/Loader.svelte | 12 +++++----- .../src/lib/components/core/Loaders.svelte | 6 ++--- .../src/lib/components/core/Menu.svelte | 24 +++++++++---------- .../src/lib/components/core/MenuWallet.svelte | 18 +++++++------- .../src/lib/components/core/Modals.svelte | 4 ++-- .../src/lib/components/core/SignOut.svelte | 4 ++-- .../components/core/WalletAddresses.svelte | 4 ++-- 11 files changed, 44 insertions(+), 43 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 3223432020..79318b91f5 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -40,6 +40,7 @@ module.exports = { 'src/frontend/src/icp/**/*.svelte', 'src/frontend/src/icp-eth/**/*.svelte', 'src/frontend/src/lib/components/common/**/*.svelte', + 'src/frontend/src/lib/components/core/**/*.svelte', 'src/frontend/src/lib/components/exchange/**/*.svelte', 'src/frontend/src/lib/components/guard/**/*.svelte', 'src/frontend/src/lib/components/icons/**/*.svelte', diff --git a/src/frontend/src/lib/components/core/Back.svelte b/src/frontend/src/lib/components/core/Back.svelte index 823067dd07..6fbd120968 100644 --- a/src/frontend/src/lib/components/core/Back.svelte +++ b/src/frontend/src/lib/components/core/Back.svelte @@ -1,10 +1,10 @@ diff --git a/src/frontend/src/lib/components/core/Listener.svelte b/src/frontend/src/lib/components/core/Listener.svelte index 9fb061ae62..7f27f232f9 100644 --- a/src/frontend/src/lib/components/core/Listener.svelte +++ b/src/frontend/src/lib/components/core/Listener.svelte @@ -1,12 +1,12 @@ diff --git a/src/frontend/src/lib/components/core/Menu.svelte b/src/frontend/src/lib/components/core/Menu.svelte index 398d5fbbf9..fdaaa52f91 100644 --- a/src/frontend/src/lib/components/core/Menu.svelte +++ b/src/frontend/src/lib/components/core/Menu.svelte @@ -1,24 +1,24 @@