49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"exclude": ["node_modules", "shadcn-svelte"],
|
|
"compilerOptions": {
|
|
// Environment setup & latest features
|
|
"lib": ["ESNext"],
|
|
"target": "ESNext",
|
|
"module": "Preserve",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
"types": ["bun"],
|
|
|
|
// Bundler mode
|
|
"moduleResolution": "bundler",
|
|
"paths": {
|
|
"muddle/formatter": ["./core/format-source.ts"],
|
|
"muddle/sessions": ["./core/sessions.ts"],
|
|
"muddle/contracts": ["./contracts/index.ts"],
|
|
"muddle/contracts/*": ["./contracts/*"],
|
|
"muddle/metadata": ["./core/metadata.ts"],
|
|
"muddle/markdown": ["./views/markdown.ts"],
|
|
"muddle/views": ["./views/api.ts"],
|
|
"muddle/stcss": ["./views/css/index.ts"],
|
|
"muddle": ["./index.ts"],
|
|
"@muddle/database": ["./modules/database/index.ts"],
|
|
"@muddle/shadcn": ["./modules/shadcn/index.ts"],
|
|
"@muddle/*": ["./*"]
|
|
},
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"noEmit": true,
|
|
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
|
|
// Best practices
|
|
"strict": true,
|
|
"strictPropertyInitialization": false,
|
|
"skipLibCheck": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
|
|
// Some stricter flags (disabled by default)
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noPropertyAccessFromIndexSignature": false
|
|
}
|
|
}
|