diff --git a/web-app/.eslintrc.cjs b/web-app/.eslintrc.cjs index 753811d3..c3e9d504 100644 --- a/web-app/.eslintrc.cjs +++ b/web-app/.eslintrc.cjs @@ -1,7 +1,8 @@ module.exports = { root: true, env: { - es2021: true + es2021: true, + browser: true }, extends: [ 'plugin:vue/essential', @@ -42,8 +43,6 @@ module.exports = { { allowModifiers: true } - ], - 'vue/multi-word-component-names': 'off', - 'vue/no-v-model-argument': 'off', + ] } } diff --git a/web-app/package.json b/web-app/package.json index 476bf3a3..22a2385b 100755 --- a/web-app/package.json +++ b/web-app/package.json @@ -49,7 +49,7 @@ "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0", - "@vitejs/plugin-vue": "^4.2.3", + "@vitejs/plugin-vue": "^4.6.2", "@vitejs/plugin-vue2": "^2.2.0", "@vue/eslint-config-standard": "^8.0.1", "@vue/eslint-config-typescript": "^11.0.2", diff --git a/web-app/packages/app/.eslintrc.cjs b/web-app/packages/app/.eslintrc.cjs index c62b242c..9a294e26 100644 --- a/web-app/packages/app/.eslintrc.cjs +++ b/web-app/packages/app/.eslintrc.cjs @@ -1,11 +1,9 @@ module.exports = { - env: { - node: true - }, extends: [ 'plugin:vue/essential', 'eslint:recommended', '@vue/typescript/recommended', + '../../.eslintrc.cjs' ], parser: 'vue-eslint-parser', parserOptions: { @@ -16,7 +14,7 @@ module.exports = { plugins: ['@typescript-eslint'], rules: { 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' + 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', // Vue 3 opt https://v3-migration.vuejs.org/breaking-changes/key-attribute.html#with-template-v-for 'vue/no-v-for-template-key-on-child': 'error', 'vue/no-v-for-template-key': 'off', diff --git a/web-app/packages/app/src/App.vue b/web-app/packages/app/src/App.vue index 11058bb7..3f34f990 100644 --- a/web-app/packages/app/src/App.vue +++ b/web-app/packages/app/src/App.vue @@ -12,11 +12,9 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial v-slot="{ Component, route }" :key="$route.fullPath" > - -
- -
-
+
+ +
- -
- -
-
+
+ +
- + - + @@ -169,17 +165,8 @@ export default defineComponent({ diff --git a/web-app/packages/lib/src/common/components/AppPanelToggleable.vue b/web-app/packages/lib/src/common/components/AppPanelToggleable.vue index 0a77edee..ac7247d9 100644 --- a/web-app/packages/lib/src/common/components/AppPanelToggleable.vue +++ b/web-app/packages/lib/src/common/components/AppPanelToggleable.vue @@ -7,7 +7,6 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-MerginMaps-Commercial