Skip to content

Commit

Permalink
chore(typecheck): prepare for fallthrough attributes type-checking
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ferferga committed Sep 6, 2024
1 parent 58f3921 commit ce406fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"mode": "auto"
}
],
"vue.server.hybridMode": true,
"vue.autoInsert.dotValue": true,
"vue.inlayHints.missingProps": true,
"vue.complete.casing.props": "kebab",
Expand All @@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
},
"vueCompilerOptions": {
"strictTemplates": true,
"htmlAttributes": ["aria-*", "data-*"]
"htmlAttributes": ["aria-*", "data-*"],
"fallthroughAttributes": true
},
"include": [
"src/**/*.ts",
Expand Down

0 comments on commit ce406fd

Please sign in to comment.