From 34312cca96e08588245cd8d8b5d50aa359a2d409 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 2 Feb 2021 00:48:33 +0100 Subject: [PATCH] [Vue3] Increase warning level for better code quality and fixed issues found. --- .eslintrc.js | 4 ++-- src/components/navigation/EssentialLink.vue | 2 +- src/components/navigation/ShortCutLink.vue | 2 +- src/components/utils/IsoDateInput.vue | 6 ++--- src/layouts/MainLayout.vue | 4 ++-- src/layouts/OutLayout.vue | 4 ++-- src/pages/Login.vue | 12 +++++----- src/pages/Reset.vue | 6 ++--- src/pages/about/About.vue | 6 ++--- src/plugins/balance/components/BalanceAdd.vue | 10 ++++---- .../balance/components/BalanceHeader.vue | 2 +- .../balance/components/BalanceTransfer.vue | 4 ++-- .../balance/components/Transaction.vue | 4 ++-- src/plugins/balance/pages/MainPage.vue | 8 +++---- src/plugins/balance/pages/Overview.vue | 4 ++-- .../components/management/CreateEvent.vue | 6 ++--- .../components/management/Eventtypes.vue | 4 ++-- .../schedule/components/management/Job.vue | 12 +++++----- .../components/management/JobTypes.vue | 4 ++-- src/plugins/schedule/pages/MainPage.vue | 2 +- src/plugins/schedule/pages/Management.vue | 6 ++--- src/plugins/user/components/NewUser.vue | 2 +- src/plugins/user/components/UserSelector.vue | 2 +- .../components/settings/MainUserSettings.vue | 24 +++++++++---------- .../user/components/settings/RoleSettings.vue | 6 ++--- .../user/components/settings/Sessions.vue | 12 +++++----- src/plugins/user/pages/AdminSettings.vue | 6 ++--- src/plugins/user/pages/MainPage.vue | 2 +- 28 files changed, 83 insertions(+), 83 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index f6738c5..24813a4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -39,8 +39,8 @@ module.exports = { // but leave only one uncommented! // See https://eslint.vuejs.org/rules/#available-rules // 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention) - 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability) - // 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead) + // 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability) + 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead) // https://github.com/prettier/eslint-config-prettier#installation // usage with Prettier, provided by 'eslint-config-prettier'. diff --git a/src/components/navigation/EssentialLink.vue b/src/components/navigation/EssentialLink.vue index d69334a..afc36ce 100644 --- a/src/components/navigation/EssentialLink.vue +++ b/src/components/navigation/EssentialLink.vue @@ -1,5 +1,5 @@