/ skills / dev-browser / 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  
17      // Path aliases
18      "baseUrl": ".",
19      "paths": {
20        "@/*": ["./src/*"]
21      },
22  
23      // Best practices
24      "strict": true,
25      "skipLibCheck": true,
26      "noFallthroughCasesInSwitch": true,
27      "noUncheckedIndexedAccess": true,
28      "noImplicitOverride": true,
29  
30      // Some stricter flags (disabled by default)
31      "noUnusedLocals": false,
32      "noUnusedParameters": false,
33      "noPropertyAccessFromIndexSignature": false
34    },
35    "include": ["src/**/*", "scripts/**/*"]
36  }