parsec/tsconfig.json
2025-03-26 14:19:01 -04:00

31 lines
759 B
JSON

{
"compilerOptions": {
// Environment setup & latest features
"lib": [
"esnext"
],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"allowImportingTsExtensions": true,
"allowJs": false,
// Bundler mode
"moduleResolution": "bundler",
"verbatimModuleSyntax": true,
"declaration": true,
"emitDeclarationOnly": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": true,
// Files
"outDir": "dist",
"rootDir": "./src"
}
}