|
1 | 1 | { |
2 | | - "allowSyntheticDefaultImports": true, |
| 2 | + "display": "Node 14", |
3 | 3 | "compilerOptions": { |
| 4 | + "strict": true, |
| 5 | + "noImplicitReturns": true, |
4 | 6 | "outDir": "./build/", |
| 7 | + "types": ["node"], |
| 8 | + "typeRoots": ["node_modules/@types"], |
5 | 9 | "sourceMap": true, |
6 | | - "noImplicitAny": false, |
7 | | - "module": "commonjs", |
8 | | - "target": "ES5", |
9 | 10 | "jsx": "react", |
10 | | - "lib": ["ES5", "ES6", "dom"], |
| 11 | + "lib": ["esnext", "dom"], |
| 12 | + "module": "commonjs", |
| 13 | + "target": "es5", |
| 14 | + "moduleResolution": "node", |
11 | 15 | "esModuleInterop": true, |
| 16 | + "resolveJsonModule": true, |
| 17 | + "declaration": false, |
| 18 | + "noImplicitAny": false, |
| 19 | + "downlevelIteration": true, |
| 20 | + "importHelpers": true, |
| 21 | + "skipLibCheck": true, |
| 22 | + "forceConsistentCasingInFileNames": true, |
12 | 23 | "baseUrl": ".", |
13 | 24 | "paths": { |
14 | | - "components/*": ["./test/components/*"] |
15 | | - } |
| 25 | + "components/*": ["./test/components/*"], |
| 26 | + "assets/*": ["./test/assets/*"] |
| 27 | + }, |
| 28 | + "isolatedModules": true, |
| 29 | + "allowSyntheticDefaultImports": true, |
| 30 | + // handled by ESLint (shows warning) |
| 31 | + "noUnusedLocals": false, |
| 32 | + "noUnusedParameters": false |
16 | 33 | }, |
17 | | - "include": ["./src/**/*", "./test/**/*"], |
| 34 | + "include": ["./src/**/*"], |
| 35 | + "exclude": ["**/*.spec.*"], |
18 | 36 | "awesomeTypescriptLoaderOptions": { |
19 | | - "reportFiles": ["./src/**/*"] |
| 37 | + "reportFiles": ["./src/**/*.{ts,tsx}"], |
| 38 | + "ignoreDiagnostics": [1005 /* expected semicolon */], |
| 39 | + "useCache": true |
20 | 40 | } |
21 | 41 | } |
0 commit comments