@bfra.me/tsconfig
Version:
Shared TypeScript configuration for bfra.me
45 lines (38 loc) • 1.02 kB
JSON
{
"$schema": "http://json.schemastore.org/tsconfig",
"display": "@bfra.me/tsconfig",
"compilerOptions": {
// Language and Environment
"target": "ES2022",
"lib": ["ES2023"],
// Modules
"module": "Preserve",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
// JavaScript Support
"allowJs": true,
// Type Checking
"strict": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// Emit
"declaration": true,
"declarationMap": true,
"preserveConstEnums": true,
"sourceMap": true,
// Interop Constraints
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
// Completeness
"skipLibCheck": true
}
}