| 1 | { |
| 2 | "extends": "@tsconfig/strictest/tsconfig.json", |
| 3 | "compilerOptions": { |
| 4 | "module": "ES2015", |
| 5 | "moduleResolution": "Bundler", |
| 6 | "rootDir": "src", |
| 7 | "noEmit": true, |
| 8 | "jsx": "react-jsxdev", |
| 9 | // weaken strictness from preset |
| 10 | "importsNotUsedAsValues": "remove", |
| 11 | "noUncheckedIndexedAccess": false, |
| 12 | "noUnusedParameters": false, |
| 13 | "stripInternal": true, |
| 14 | "useUnknownInCatchVariables": true, |
| 15 | "target": "ES2015", |
| 16 | // ideally turn off only during dev, or on a per-file basis |
| 17 | "noUnusedLocals": false, |
| 18 | "removeComments": true, |
| 19 | "declaration": true, |
| 20 | }, |
| 21 | "exclude": [ |
| 22 | "node_modules", |
| 23 | "src/__tests__/fixtures" |
| 24 | ], |
| 25 | "include": [ |
| 26 | "src/**/*.ts" |
| 27 | ], |
| 28 | "ts-node": { |
| 29 | "transpileOnly": true, |
| 30 | // these options are overrides used only by ts-node |
| 31 | // same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable |
| 32 | "compilerOptions": { |
| 33 | "module": "NodeNext", |
| 34 | "moduleResolution": "NodeNext", |
| 35 | } |
| 36 | } |
| 37 | } |