muse/tsconfig.json

36 lines
852 B
JSON

{
"compilerOptions": {
// Enable latest features
"lib": [
"ESNext",
"DOM"
],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowArbitraryExtensions": true,
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"declaration": true,
"emitDeclarationOnly": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false,
"baseUrl": "./src",
"paths": {},
"outDir": "./types",
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
]
}