lmc/tsconfig.json

39 lines
1 KiB
JSON

{
// Visit https://aka.ms/tsconfig to read more about this file
"compilerOptions": {
// Environment Settings
// See also https://aka.ms/tsconfig/module
"module": "esnext",
"target": "esnext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"noEmit": true,
// For nodejs:
"lib": ["esnext"],
"types": ["node"],
// and npm install -D @types/node
// Stricter Typechecking Options
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
// Style Options
"noImplicitReturns": true,
"noImplicitOverride": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": false,
// Recommended Options
"strict": true,
"jsx": "react-jsx",
"allowImportingTsExtensions": false,
"allowArbitraryExtensions": true,
"verbatimModuleSyntax": true,
"isolatedModules": true,
"noUncheckedSideEffectImports": true,
"moduleDetection": "force",
"skipLibCheck": true
}
}