diff --git a/webclient/.eslintrc.cjs b/webclient/.eslintrc.cjs deleted file mode 100644 index 128333065..000000000 --- a/webclient/.eslintrc.cjs +++ /dev/null @@ -1,71 +0,0 @@ -/* eslint-env node */ -module.exports = { - root: true, - extends: [ - "plugin:vue/vue3-essential", - "plugin:vue/vue3-strongly-recommended", - "plugin:vue/vue3-recommended", - "eslint:recommended", - "@vue/eslint-config-typescript/recommended", - "@vue/eslint-config-prettier", - "@vue/eslint-config-prettier/skip-formatting", - ], - parserOptions: { - ecmaVersion: "latest", - }, - rules: { - "vue/no-v-html": "off", - "vue/block-lang": [ - "error", - { - script: { - lang: "ts", - }, - }, - ], - "vue/block-order": [ - "error", - { - order: ["script", "template", "style", "i18n"], - }, - ], - "vue/block-tag-newline": "error", - "vue/component-api-style": [ - "error", - ["script-setup", "composition"], // "script-setup", "composition", "composition-vue2", or "options" - ], - "vue/multi-word-component-names": "off", - "vue/component-name-in-template-casing": ["error", "PascalCase", { registeredComponentsOnly: false }], - "vue/custom-event-name-casing": ["error", "camelCase"], - "vue/define-macros-order": "error", - "vue/define-props-declaration": ["error", "type-based"], - "vue/html-button-has-type": [ - "error", - { - button: true, - submit: true, - reset: true, - }, - ], - "vue/no-boolean-default": ["error", "default-false"], - "vue/no-empty-component-block": "error", - "vue/html-comment-content-spacing": ["error", "always"], - "vue/no-ref-object-reactivity-loss": "error", - "vue/no-required-prop-with-default": "error", - "vue/no-restricted-call-after-await": "error", - //"vue/no-root-v-if": "error", todo: enable when there is a loading animation - "vue/no-setup-props-reactivity-loss": "error", - //"vue/no-static-inline-styles": "error", todo: enable after migration to tailwind - "vue/no-useless-mustaches": "error", - "vue/no-useless-v-bind": "error", - "vue/no-v-text": "error", - "vue/padding-line-between-blocks": "error", - "vue/prefer-prop-type-boolean-first": "error", - "vue/prefer-separate-static-class": "error", - "vue/require-macro-variable-name": "error", - "vue/require-typed-ref": "error", - "vue/static-class-names-order": "off", - "vue/v-for-delimiter-style": "error", - "vue/no-constant-condition": "error", - }, -}; diff --git a/webclient/.gitignore b/webclient/.gitignore index f01bc4f86..33d85a49c 100644 --- a/webclient/.gitignore +++ b/webclient/.gitignore @@ -23,9 +23,4 @@ coverage *.ntvs* *.njsproj *.sln -*.sw? -/cdn/ - -# lockfiles -pnpm-lock.yaml -package-lock.json +*.sw? \ No newline at end of file diff --git a/webclient/components/AppFooter.vue b/webclient/components/AppFooter.vue index c2fd879bd..1463c31ba 100644 --- a/webclient/components/AppFooter.vue +++ b/webclient/components/AppFooter.vue @@ -55,7 +55,7 @@ const navigation = computed(() => [

- {{ t("official_roomfinder") }}
+ {{ t("official_roomfinder") }}
[ height="80" loading="lazy" aria-hidden="true" - /> + >

diff --git a/webclient/components/AppNavHeader.vue b/webclient/components/AppNavHeader.vue index ce13c19f7..737335116 100644 --- a/webclient/components/AppNavHeader.vue +++ b/webclient/components/AppNavHeader.vue @@ -3,7 +3,7 @@