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 <noreply@github.com>
This commit is contained in:
Fernando Fernández 2024-08-30 08:11:08 +00:00
parent 85cff51eb1
commit f3260d9225
No known key found for this signature in database
GPG Key ID: 82FD36644F1F4D3B
2 changed files with 5 additions and 2 deletions

View File

@ -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": {

View File

@ -36,7 +36,8 @@
},
"vueCompilerOptions": {
"strictTemplates": true,
"htmlAttributes": ["aria-*", "data-*"]
"htmlAttributes": ["aria-*", "data-*"],
"fallthroughAttributes": true
},
"include": [
"src/**/*.ts",