|
1 | 1 | {
|
2 |
| - "extends": "@tsconfig/recommended/tsconfig.json", |
3 |
| - |
4 | 2 | "compilerOptions": {
|
5 |
| - /* Basic Options */ |
6 |
| - "target": "ES2020", |
| 3 | + // Type Checking |
| 4 | + "allowUnreachableCode": false, |
| 5 | + "allowUnusedLabels": false, |
| 6 | + "alwaysStrict": true, |
| 7 | + "exactOptionalPropertyTypes": true, |
| 8 | + "noFallthroughCasesInSwitch": true, |
| 9 | + "noImplicitOverride": true, |
| 10 | + "noImplicitReturns": true, |
| 11 | + "noUnusedLocals": true, |
| 12 | + "noUnusedParameters": true, |
| 13 | + "strict": true, |
| 14 | + // Modules |
7 | 15 | "module": "ES2020",
|
8 |
| - "lib": ["DOM", "DOM.Iterable", "ES2020"], |
9 |
| - "allowJs": true, |
| 16 | + "moduleResolution": "nodenext", |
| 17 | + // Emit |
10 | 18 | "declaration": true,
|
11 |
| - "jsx": "react", |
12 | 19 | "noEmit": true,
|
13 |
| - "sourceMap": true, |
14 | 20 | "removeComments": false,
|
15 |
| - /* Strict Type-Checking Options */ |
16 |
| - "strict": true, |
17 |
| - "noImplicitAny": true, |
18 |
| - "strictNullChecks": true, |
19 |
| - "strictFunctionTypes": true, |
20 |
| - "strictBindCallApply": true, |
21 |
| - "strictPropertyInitialization": true, |
22 |
| - "noImplicitThis": true, |
23 |
| - "alwaysStrict": true, |
24 |
| - /* Additional Checks */ |
25 |
| - "noUnusedLocals": true, |
26 |
| - "noUnusedParameters": true, |
27 |
| - "noImplicitReturns": true, |
28 |
| - "noFallthroughCasesInSwitch": true, |
29 |
| - /* Module Resolution Options */ |
30 |
| - "moduleResolution": "node", |
| 21 | + "sourceMap": true, |
| 22 | + // Javascript Support |
| 23 | + "allowJs": true, |
| 24 | + "checkJs": true, |
| 25 | + // Interop Constraints |
31 | 26 | "esModuleInterop": true,
|
32 |
| - /* Advanced Options */ |
33 | 27 | "forceConsistentCasingInFileNames": true,
|
34 |
| - "skipLibCheck": false |
| 28 | + "isolatedModules": true, |
| 29 | + // Language and Environment |
| 30 | + "jsx": "react", |
| 31 | + "lib": ["DOM", "DOM.Iterable", "ES2020"], |
| 32 | + "target": "ES2020", |
| 33 | + // Completeness |
| 34 | + "skipLibCheck": true |
35 | 35 | }
|
36 | 36 | }
|
0 commit comments