Skip to content

Commit f3260d9

Browse files
committed
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 <[email protected]>
1 parent 85cff51 commit f3260d9

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.vscode/settings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"mode": "auto"
3636
}
3737
],
38+
"vue.server.hybridMode": true,
3839
"vue.autoInsert.dotValue": true,
3940
"vue.inlayHints.missingProps": true,
4041
"vue.complete.casing.props": "kebab",
@@ -43,7 +44,8 @@
4344
"vue.format.style.initialIndent": true,
4445
"vue.inlayHints.inlineHandlerLeading": true,
4546
"vue.inlayHints.vBindShorthand": true,
46-
"vue.server.hybridMode": false,
47+
"vue.inlayHints.optionsWrapper": true,
48+
"vue.inlayHints.destructuredProps": true,
4749
"sonarlint.output.showAnalyzerLogs": true,
4850
"sonarlint.output.showVerboseLogs": true,
4951
"sonarlint.connectedMode.project": {

frontend/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
},
3737
"vueCompilerOptions": {
3838
"strictTemplates": true,
39-
"htmlAttributes": ["aria-*", "data-*"]
39+
"htmlAttributes": ["aria-*", "data-*"],
40+
"fallthroughAttributes": true
4041
},
4142
"include": [
4243
"src/**/*.ts",

0 commit comments

Comments
 (0)