From bc25ec18cb58b49d38ae52dc1ec756f62211036c Mon Sep 17 00:00:00 2001 From: Martin Bullman Date: Sat, 11 Jan 2025 19:01:40 +0200 Subject: [PATCH 1/3] Remove version tag from docker compose. --- docker-compose.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ae15104..4c599cf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.8' - services: db: image: postgres:16-alpine From 658dd447fada68a231d01dc241e3aae15f8945da Mon Sep 17 00:00:00 2001 From: Martin Bullman Date: Sat, 11 Jan 2025 19:27:42 +0200 Subject: [PATCH 2/3] Update eslint config to ignore v-html warnings. --- frontend/eslint.config.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjs index 0be6e28..72f793f 100644 --- a/frontend/eslint.config.mjs +++ b/frontend/eslint.config.mjs @@ -28,10 +28,12 @@ export default createConfigForNuxt({ .override('nuxt/vue/rules', { rules: { + 'vue/no-v-html': 'off', 'vue/html-self-closing': 'off', 'vue/block-tag-newline': 'off', 'vue/first-attribute-line-break': 'off', 'vue/html-closing-bracket-newline': 'off', + 'vue/no-v-text-v-html-on-component': 'off', 'vue/multiline-html-element-content-newline': 'off', 'vue/max-attributes-per-line': ['error', { 'singleline': 10, From 072f2924c9a04a76e6edda6c42cdf5032efb7c90 Mon Sep 17 00:00:00 2001 From: Martin Bullman Date: Sat, 11 Jan 2025 19:28:20 +0200 Subject: [PATCH 3/3] Fix project card component displaying raw HTML. --- frontend/components/cards/ProjectCard.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/components/cards/ProjectCard.vue b/frontend/components/cards/ProjectCard.vue index 052d48a..f5deaee 100644 --- a/frontend/components/cards/ProjectCard.vue +++ b/frontend/components/cards/ProjectCard.vue @@ -34,13 +34,7 @@ - - -
- - {{ project.text }} - -
+