From ce406fdb6efaf191bba79f07301c53628ddb56f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Fern=C3=A1ndez?= Date: Fri, 30 Aug 2024 08:11:08 +0000 Subject: [PATCH] chore(typecheck): prepare for fallthrough attributes type-checking vue-tsc add supports for fallthrough attributes type-checking, but we need to enable it. See release notes: https://github.com/vuejs/language-tools/releases/tag/v2.1.0 Signed-off-by: GitHub --- .vscode/settings.json | 4 +++- frontend/tsconfig.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 6199aea1f0d..3304c48b89f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -35,6 +35,7 @@ "mode": "auto" } ], + "vue.server.hybridMode": true, "vue.autoInsert.dotValue": true, "vue.inlayHints.missingProps": true, "vue.complete.casing.props": "kebab", @@ -43,7 +44,8 @@ "vue.format.style.initialIndent": true, "vue.inlayHints.inlineHandlerLeading": true, "vue.inlayHints.vBindShorthand": true, - "vue.server.hybridMode": false, + "vue.inlayHints.optionsWrapper": true, + "vue.inlayHints.destructuredProps": true, "sonarlint.output.showAnalyzerLogs": true, "sonarlint.output.showVerboseLogs": true, "sonarlint.connectedMode.project": { diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index dd87706f121..7ac3ad06fef 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -36,7 +36,8 @@ }, "vueCompilerOptions": { "strictTemplates": true, - "htmlAttributes": ["aria-*", "data-*"] + "htmlAttributes": ["aria-*", "data-*"], + "fallthroughAttributes": true }, "include": [ "src/**/*.ts",