| 1 | { |
| 2 | "extends": "@tsconfig/strictest/tsconfig.json", |
| 3 | "compilerOptions": { |
| 4 | "module": "ES2015", |
| 5 | "target": "ES2015", |
| 6 | "moduleResolution": "Bundler", |
| 7 | "lib": ["ES2020", "dom"], |
| 8 | "sourceMap": false, |
| 9 | "types": ["estree-jsx", "node"], |
| 10 | "downlevelIteration": true, |
| 11 | "paths": { |
| 12 | "babel-plugin-react-compiler": ["../../compiler/packages/babel-plugin-react-compiler/src"], |
| 13 | "shared/*": ["../shared/*"] |
| 14 | }, |
| 15 | "jsx": "react-jsxdev", |
| 16 | "rootDir": "../..", |
| 17 | "baseUrl": ".", |
| 18 | "typeRoots": [ |
| 19 | "../../node_modules/@types" |
| 20 | ], |
| 21 | "checkJs": false, |
| 22 | "allowJs": false, |
| 23 | |
| 24 | // weaken strictness from preset |
| 25 | "importsNotUsedAsValues": "remove", |
| 26 | "noUncheckedIndexedAccess": false, |
| 27 | "noUnusedParameters": false, |
| 28 | "useUnknownInCatchVariables": true, |
| 29 | // ideally turn off only during dev, or on a per-file basis |
| 30 | "noUnusedLocals": false, |
| 31 | "removeComments": true, |
| 32 | }, |
| 33 | "include": ["src/**/*.ts", "__tests__/**/*.ts"] |
| 34 | } |