Configure Typescript (#19774)

Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
Maschga 2025-03-21 15:00:50 +01:00 • committed by GitHub
parent 29c4bc6279
commit b937e131f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
68 changed files with 1709 additions and 2196 deletions

View file

@ -1,19 +1,24 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": [
"env.d.ts",
"assets/js/**/*",
"assets/js/src/**/*.vue"
],
"compilerOptions": {
"composite": true,
"noImplicitAny": false,
"allowJs": true,
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
]
}
}
}
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "assets/js/**/*"],
"compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"composite": true,
"allowJs": true,
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
"plugins": [
{
"name": "typescript-eslint-language-service"
}
]
}
}