diff options
Diffstat (limited to 'frontend/tsconfig.json')
| -rw-r--r-- | frontend/tsconfig.json | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 813525a..13456ba 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json | |||
| @@ -1,29 +1,35 @@ | |||
| 1 | { | 1 | { |
| 2 | "extends": "./tsconfig.paths.json", | 2 | "extends": "./tsconfig.paths.json", |
| 3 | "compilerOptions": { | 3 | "compilerOptions": { |
| 4 | "target": "es5", | 4 | "target": "ES2020", |
| 5 | "useDefineForClassFields": true, | ||
| 5 | "lib": [ | 6 | "lib": [ |
| 6 | "dom", | 7 | "ES2020", |
| 7 | "dom.iterable", | 8 | "DOM", |
| 8 | "esnext" | 9 | "DOM.Iterable" |
| 9 | ], | 10 | ], |
| 10 | "allowJs": true, | 11 | "module": "ESNext", |
| 11 | "skipLibCheck": true, | 12 | "skipLibCheck": true, |
| 12 | "esModuleInterop": true, | 13 | /* Bundler mode */ |
| 13 | "allowSyntheticDefaultImports": true, | 14 | "moduleResolution": "bundler", |
| 14 | "strict": true, | 15 | "allowImportingTsExtensions": true, |
| 15 | "forceConsistentCasingInFileNames": true, | ||
| 16 | "noFallthroughCasesInSwitch": true, | ||
| 17 | "strictNullChecks": true, | ||
| 18 | // "allowImportingTsExtensions": false, | ||
| 19 | "module": "esnext", | ||
| 20 | "moduleResolution": "node", | ||
| 21 | "resolveJsonModule": true, | ||
| 22 | "isolatedModules": true, | 16 | "isolatedModules": true, |
| 17 | "moduleDetection": "force", | ||
| 23 | "noEmit": true, | 18 | "noEmit": true, |
| 24 | "jsx": "react-jsx", | 19 | "jsx": "react-jsx", |
| 20 | /* Linting */ | ||
| 21 | "strict": true, | ||
| 22 | "noUnusedLocals": true, | ||
| 23 | "noUnusedParameters": true, | ||
| 24 | "noFallthroughCasesInSwitch": true, | ||
| 25 | "forceConsistentCasingInFileNames": true, | ||
| 26 | "strictNullChecks": true, | ||
| 27 | "allowJs": true, | ||
| 28 | "esModuleInterop": true, | ||
| 29 | "allowSyntheticDefaultImports": true, | ||
| 30 | "resolveJsonModule": true | ||
| 25 | }, | 31 | }, |
| 26 | "include": [ | 32 | "include": [ |
| 27 | "src" | 33 | "src" |
| 28 | ] | 34 | ] |
| 29 | } | 35 | } \ No newline at end of file |