Samuel Shuert | 9d7da11 | 2024-04-27 16:09:02 -0400 | [diff] [blame] | 1 | { |
| 2 | "compilerOptions": { |
| 3 | // Enable latest features |
| 4 | "lib": ["ESNext", "DOM"], |
| 5 | "target": "ESNext", |
| 6 | "module": "ESNext", |
| 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 | // Best practices |
| 18 | "strict": true, |
| 19 | "skipLibCheck": true, |
| 20 | "noFallthroughCasesInSwitch": true, |
| 21 | |
| 22 | // Some stricter flags (disabled by default) |
| 23 | "noUnusedLocals": false, |
| 24 | "noUnusedParameters": false, |
| 25 | "noPropertyAccessFromIndexSignature": false |
| 26 | } |
| 27 | } |