From 053f6ef711ac2ffcf8ae21484a8151515d3d3dff Mon Sep 17 00:00:00 2001 From: vbuglov Date: Tue, 2 Apr 2024 10:56:36 +0300 Subject: [PATCH] fix(eslint app): prepere eslint --fix --- live_monitor_vue/Makefile | 9 +- .../src/components/1_atoms/DoubleSwitch.vue | 12 +- .../MachinesModal/MachinesModal.vue | 20 +- .../2_molecules/MapModal/MapModal.vue | 4 +- .../2_molecules/VSpinner/VSpinner.vue | 24 +- .../2_molecules/VSpinner/VSpinnerSvg.vue | 42 +- .../2_molecules/VTabulator/VTabulator.vue | 26 +- .../VTabulator/VTabulatorPagination.vue | 166 +- .../2_molecules/VTabulator/helper.js | 42 +- .../2_molecules/VTabulator/localization.js | 32 +- .../2_molecules/VTabulator/stringFunction.js | 2 +- .../2_molecules/VTabulator/time_funcs.js | 74 +- .../src/components/3_organisms/PackColumns.js | 270 +- .../3_organisms/PackView/Button.vue | 30 +- .../components/3_organisms/PackView/index.vue | 93 +- .../src/components/5_pages/404/Car.vue | 30 +- .../src/components/5_pages/404/index.vue | 30 +- .../5_pages/Communication/index.vue | 12 +- .../src/components/5_pages/Cron/Task.vue | 54 +- .../components/5_pages/Cron/TaskHistory.vue | 66 +- .../src/components/5_pages/Cron/TaskModal.vue | 72 +- .../components/5_pages/Cron/historyData.js | 4248 ++++++++--------- .../src/components/5_pages/Cron/index.vue | 48 +- .../src/components/5_pages/Devices/index.vue | 12 +- .../src/components/5_pages/FileLogs/index.vue | 12 +- .../components/5_pages/FileViewer/index.vue | 12 +- .../components/5_pages/FilesLogs/index.vue | 12 +- .../components/5_pages/FreePacks/index.vue | 12 +- .../src/components/5_pages/Fuel/index.vue | 12 +- .../src/components/5_pages/ICCID/index.vue | 12 +- .../components/5_pages/LastPacksNum/index.vue | 156 +- .../5_pages/Main/AddUsers/AddUsers.vue | 13 +- .../5_pages/Main/FinderPacks/FinderPacks.vue | 89 +- .../5_pages/Main/Machines/Charts.vue | 80 +- .../Main/Machines/DataModal/DataModal.vue | 131 +- .../5_pages/Main/Machines/Filters.vue | 32 +- .../5_pages/Main/Machines/Machine.vue | 87 +- .../5_pages/Main/Machines/Machines.vue | 193 +- .../src/components/5_pages/Main/index.vue | 21 +- .../src/components/5_pages/News/index.vue | 12 +- .../components/5_pages/Packs/Chart/Chart.vue | 25 +- .../src/components/5_pages/Packs/index.vue | 148 +- .../6_admin_pages/Services/Services.vue | 38 +- live_monitor_vue/src/helpers/examle.vue | 12 +- live_monitor_vue/src/router/index.js | 4 +- .../src/services/ServiceOfMachines.js | 1 - .../store/hooks/Echarts/graphicElements.js | 72 +- .../src/store/hooks/Echarts/helpers.js | 236 +- .../src/store/hooks/Echarts/index.js | 1626 +++---- .../src/store/hooks/Echarts/staticData.js | 186 +- .../src/store/hooks/Echarts/windowConfigs.js | 736 +-- .../src/store/modules/add_users/StaticData.js | 1114 ++--- .../src/store/modules/apiHelpers.js | 18 +- .../src/store/modules/auth/menuList.js | 1 - .../src/store/modules/example/index.js | 12 +- .../store/modules/finder_packs/StaticData.js | 1 - .../src/store/modules/last_packs/index.js | 12 +- .../src/store/modules/last_packs_num/index.js | 12 +- .../modules/layoutMachines/StaticData.js | 942 ++-- .../store/modules/layoutMachines/helpers.js | 16 +- .../modules/layoutMachines/helpersCharts.js | 738 +-- .../src/store/modules/layoutMachines/index.js | 96 +- .../src/store/modules/machines/StaticData.js | 942 ++-- .../src/store/modules/machines/helpers.js | 16 +- .../store/modules/machines/helpersCharts.js | 738 +-- .../src/store/modules/main/index.js | 18 +- .../src/store/modules/packs/StaticData.js | 128 +- .../src/store/modules/packs/index.js | 2 +- .../src/store/modules/services/StaticData.js | 36 +- .../src/store/modules/services/index.js | 4 +- 70 files changed, 7375 insertions(+), 6859 deletions(-) diff --git a/live_monitor_vue/Makefile b/live_monitor_vue/Makefile index 6950952..073fcf1 100644 --- a/live_monitor_vue/Makefile +++ b/live_monitor_vue/Makefile @@ -1,9 +1,14 @@ HOOK_NAME=pre-push HOOK_PATH=../.git/hooks/$(HOOK_NAME) -prehook: - @echo "Setting up pre-push hook..." +clearhook: + @echo "clear hooks" @rm -f $(HOOK_PATH) + @echo "hooks cleared" + + +prehook: + make clearhook @echo '#!/bin/sh' >> $(HOOK_PATH) @echo 'echo "Running lint for live_monitor_vue"' >> $(HOOK_PATH) @echo 'cd ./live_monitor_vue' >> $(HOOK_PATH) diff --git a/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue b/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue index 3514666..d4f4e9c 100644 --- a/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue +++ b/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue @@ -1,9 +1,8 @@ - - - diff --git a/live_monitor_vue/src/components/2_molecules/VTabulator/VTabulatorPagination.vue b/live_monitor_vue/src/components/2_molecules/VTabulator/VTabulatorPagination.vue index bd9d780..b9e0c48 100644 --- a/live_monitor_vue/src/components/2_molecules/VTabulator/VTabulatorPagination.vue +++ b/live_monitor_vue/src/components/2_molecules/VTabulator/VTabulatorPagination.vue @@ -1,5 +1,3 @@ - - -