diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index a6445e841..35dbfef17 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -1,21 +1,26 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
+/** @type import('eslint').Linter.Config **/
module.exports = {
root: true,
env: {
browser: true,
- node: true
+ node: true,
+ es2022: true
},
extends: [
'plugin:vue/vue3-essential',
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
- '@vue/eslint-config-prettier/skip-formatting'
+ '@vue/eslint-config-prettier/skip-formatting',
+ 'plugin:import/recommended',
+ 'plugin:import/typescript'
],
parser: 'vue-eslint-parser',
parserOptions: {
+ ecmaVersion: 13,
parser: {
// Script parser for `
diff --git a/src/components/WalletCard.vue b/src/components/WalletCard.vue
index db7e12ae1..6cf6d02a2 100644
--- a/src/components/WalletCard.vue
+++ b/src/components/WalletCard.vue
@@ -1,16 +1,7 @@
-
-
-
+
+
+
{{ $t('home.wallet_crypto', { crypto: cryptoName }) }}
@@ -19,17 +10,8 @@
-
-
+
+
@@ -39,34 +21,21 @@
{{ $t('home.balance') }}
- {{ currency(balance, crypto, true) }} ~{{ rate }} {{ currentCurrency }}
+ {{ currency(balance, crypto, true) }}
+ ~{{ rate }} {{ currentCurrency }}
-
-
+
+
-
+