/ tsconfig.json
tsconfig.json
1 { 2 "compilerOptions": { 3 /* Emit */ 4 "target": "ES2020", 5 "lib": ["ES2020"], 6 "declaration": true, 7 // These two options will be selectively overridden in each project. 8 // Utility libraries will have source maps on, but plugins will not. 9 "declarationMap": false, 10 "sourceMap": false, 11 "jsx": "react", 12 "module": "NodeNext", 13 "noEmit": true, 14 15 /* Strict Type-Checking Options */ 16 "allowUnreachableCode": false, 17 // Too hard to turn on 18 "exactOptionalPropertyTypes": false, 19 "noFallthroughCasesInSwitch": true, 20 "noImplicitOverride": true, 21 "noImplicitReturns": true, 22 /* strict family */ 23 "strict": true, 24 "alwaysStrict": true, 25 "noImplicitAny": false, 26 "noImplicitThis": true, 27 "strictBindCallApply": true, 28 "strictFunctionTypes": true, 29 "strictNullChecks": false, 30 "strictPropertyInitialization": false, 31 "useUnknownInCatchVariables": true, 32 /* Handled by ESLint */ 33 "noUnusedLocals": false, 34 "noUnusedParameters": false, 35 "importsNotUsedAsValues": "remove", 36 37 /* Module Resolution */ 38 "moduleResolution": "node16", 39 "resolveJsonModule": true, 40 "allowSyntheticDefaultImports": true, 41 "esModuleInterop": true, 42 "forceConsistentCasingInFileNames": true, 43 "isolatedModules": true, 44 "allowJs": true, 45 "allowImportingTsExtensions": false, 46 "skipLibCheck": true // @types/webpack and webpack/types.d.ts are not the same thing 47 }, 48 "include": ["./**/*"], 49 "exclude": [ 50 "node_modules", 51 "coverage/**", 52 "**/lib/**/*", 53 "**/__mocks__/**/*", 54 "**/__fixtures__/**/*" 55 ] 56 }