From 0803b59f0f58a1266a11a0576ace22e83c2ee0fa Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 1 Jan 2026 16:42:33 +0100 Subject: [PATCH] fix(frontend): Type and lint issues --- legalconsenthub/app/composables/index.ts | 4 ---- legalconsenthub/eslint.config.mjs | 23 ++++++++++++----------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/legalconsenthub/app/composables/index.ts b/legalconsenthub/app/composables/index.ts index 6076c5f..ee9961c 100644 --- a/legalconsenthub/app/composables/index.ts +++ b/legalconsenthub/app/composables/index.ts @@ -2,11 +2,7 @@ export { useApplicationFormTemplate } from './applicationFormTemplate/useApplica export { useApplicationForm } from './applicationForm/useApplicationForm' export { useApplicationFormVersion } from './applicationFormVersion/useApplicationFormVersion' export { useApplicationFormVersionApi } from './applicationFormVersion/useApplicationFormVersionApi' -export { useApplicationFormNavigation } from './useApplicationFormNavigation' export { useNotification } from './notification/useNotification' export { useNotificationApi } from './notification/useNotificationApi' export { useUser } from './user/useUser' export { useUserApi } from './user/useUserApi' -export { useSectionSpawning } from './useSectionSpawning' -export { useClonableElements } from './useClonableElements' -export { useTableCrossReferences } from './useTableCrossReferences' diff --git a/legalconsenthub/eslint.config.mjs b/legalconsenthub/eslint.config.mjs index 1024f61..5f90ce5 100644 --- a/legalconsenthub/eslint.config.mjs +++ b/legalconsenthub/eslint.config.mjs @@ -1,13 +1,14 @@ import withNuxt from './.nuxt/eslint.config.mjs' -export default withNuxt() -// your custom flat configs go here, for example: -// { -// files: ['**/*.ts', '**/*.tsx'], -// rules: { -// 'no-console': 'off' // allow console.log in TypeScript files -// } -// }, -// { -// ... -// } +export default withNuxt({ + rules: { + 'vue/html-self-closing': [ + 'error', + { + html: { + void: 'any' + } + } + ] + } +})