From ad9202e4ea7ca59ff6d517f11dfee508c6c1d313 Mon Sep 17 00:00:00 2001 From: Zh3nyaZh3nya Date: Mon, 9 Dec 2024 11:49:46 +0500 Subject: [PATCH] fix warns from lint & added new rules for lint --- .eslintrc | 6 +- src/runtime/components/Pages/Error/Erg.vue | 1 - src/runtime/components/Pages/TestVuetify.vue | 39 ++++++------ src/runtime/components/Parts/Files/Erg.vue | 5 +- .../components/Parts/Footer/Default.vue | 2 +- src/runtime/components/Parts/Footer/Erg.vue | 59 ++++++++++++------- src/runtime/components/Parts/Forms.vue | 2 +- src/runtime/components/Parts/Header/Erg.vue | 14 ++--- src/runtime/components/Parts/Pagination.vue | 2 - src/runtime/components/Parts/Slider.vue | 6 +- src/runtime/plugins/vuetify/index.ts | 1 - 11 files changed, 75 insertions(+), 62 deletions(-) diff --git a/.eslintrc b/.eslintrc index 9e17846..cc7ef55 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,4 +1,8 @@ { "root": true, - "extends": ["@nuxt/eslint-config"] + "extends": ["@nuxt/eslint-config"], + "rules": { + "vue/no-unused-vars": "warn", + "vue/no-v-html": "off" + } } diff --git a/src/runtime/components/Pages/Error/Erg.vue b/src/runtime/components/Pages/Error/Erg.vue index ec8e1eb..de5143b 100644 --- a/src/runtime/components/Pages/Error/Erg.vue +++ b/src/runtime/components/Pages/Error/Erg.vue @@ -41,7 +41,6 @@ {{ textButton }} - diff --git a/src/runtime/components/Pages/TestVuetify.vue b/src/runtime/components/Pages/TestVuetify.vue index 1363b01..7c054be 100644 --- a/src/runtime/components/Pages/TestVuetify.vue +++ b/src/runtime/components/Pages/TestVuetify.vue @@ -68,7 +68,6 @@ :slider-background-image-zoom-scale="1.5" class="main__about__slider" /> - @@ -78,25 +77,25 @@ :contacts="contacts" :socials="socialsMedia" /> - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/src/runtime/components/Parts/Files/Erg.vue b/src/runtime/components/Parts/Files/Erg.vue index 4d815db..9e3d4a5 100644 --- a/src/runtime/components/Parts/Files/Erg.vue +++ b/src/runtime/components/Parts/Files/Erg.vue @@ -87,11 +87,10 @@ hide-details class="report__card-select mb-5 mb-md-10" :menu-props="{ class: 'report__card-menu' }" - > - + /> - + - +
    - + - +
    - +