34 lines
760 B
JSON
34 lines
760 B
JSON
|
|
{
|
||
|
|
"compilerOptions": {
|
||
|
|
// Environment setup & latest features
|
||
|
|
"lib": ["esnext", "dom"],
|
||
|
|
"target": "ESNext",
|
||
|
|
"module": "ESNext",
|
||
|
|
"moduleDetection": "force",
|
||
|
|
"jsx": "react-jsx",
|
||
|
|
"allowJs": true,
|
||
|
|
|
||
|
|
// Bundler mode
|
||
|
|
"moduleResolution": "bundler",
|
||
|
|
"allowImportingTsExtensions": true,
|
||
|
|
"verbatimModuleSyntax": true,
|
||
|
|
"noEmit": true,
|
||
|
|
|
||
|
|
// Best practices
|
||
|
|
"strict": true,
|
||
|
|
"skipLibCheck": true,
|
||
|
|
"noFallthroughCasesInSwitch": true,
|
||
|
|
"noUncheckedIndexedAccess": true,
|
||
|
|
|
||
|
|
// Some stricter flags (disabled by default)
|
||
|
|
"noUnusedLocals": false,
|
||
|
|
"noUnusedParameters": false,
|
||
|
|
"noPropertyAccessFromIndexSignature": false,
|
||
|
|
|
||
|
|
"baseUrl": ".",
|
||
|
|
"paths": {
|
||
|
|
"@/*": ["./src/web/*"]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|