/ tsconfig.json
tsconfig.json
 1  {
 2  	"compilerOptions": {
 3  		// Environment setup & latest features
 4  		"lib": ["ESNext"],
 5  		"target": "ESNext",
 6  		"module": "Preserve",
 7  		"moduleDetection": "force",
 8  		"jsx": "react-jsx",
 9  		"allowJs": true,
10  
11  		// Bundler mode
12  		"moduleResolution": "bundler",
13  		"allowImportingTsExtensions": true,
14  		"verbatimModuleSyntax": true,
15  		"noEmit": true,
16  		"types": ["bun"],
17  
18  		// Path aliases
19  		"baseUrl": ".",
20  		"paths": {
21  			"@/*": ["src/*"],
22  			"@artefact/*": ["src/artefact/*"]
23  		},
24  
25  		// Best practices
26  		"strict": true,
27  		"skipLibCheck": true,
28  		"noFallthroughCasesInSwitch": true,
29  		"noUncheckedIndexedAccess": true,
30  		"noImplicitOverride": true,
31  
32  		// Some stricter flags
33  		"noUnusedLocals": true,
34  		"noUnusedParameters": true,
35  		"noPropertyAccessFromIndexSignature": true
36  	}
37  }