mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-05-31 04:37:19 +02:00
50 lines
1.1 KiB
JSON
Executable File
50 lines
1.1 KiB
JSON
Executable File
{
|
|
"include": [
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist"
|
|
],
|
|
"compilerOptions": {
|
|
"baseUrl": "./src",
|
|
"paths": {
|
|
"@/*": ["./*"],
|
|
"@assets/*": ["./assets/*"],
|
|
"@enums/*": ["./enums/*"],
|
|
"@macros/*": ["./macros/*"],
|
|
"@modules/*": ["./modules/*"],
|
|
"@utils/*": ["./utils/*"],
|
|
},
|
|
|
|
"types": ["@types/bun", "@webgpu/types"],
|
|
|
|
// Enable latest features
|
|
"lib": ["ESNext", "DOM"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"allowJs": false,
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "Bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
"removeComments": false,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": false, // should be "true"
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
|
|
"checkJs": false
|
|
}
|
|
}
|