39 lines
932 B
JSON
39 lines
932 B
JSON
{
|
|
"compilerOptions": {
|
|
// Environment setup & latest features
|
|
"lib": ["ESNext"],
|
|
"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,
|
|
|
|
// Plugins
|
|
"plugins": [
|
|
{
|
|
"name": "@maxmorozoff/try-catch-tuple-ts-plugin",
|
|
// --- Optional Configuration for LSP ---
|
|
"errorLevel": "error",
|
|
"allowIgnoredError": true,
|
|
"checkWrappedCalls": true}
|
|
]
|
|
}
|
|
}
|