33 lines
1 KiB
JSON
33 lines
1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
// Enable latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"sourceMap": true,
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
// Best practices
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false
|
|
}
|
|
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
|
//
|
|
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
|
// from the referenced tsconfig.json - TypeScript does not merge them in
|
|
}
|