2019-05-18 14:37:35 -04:00
|
|
|
{
|
|
|
|
|
"compilerOptions": {
|
2022-03-06 00:09:10 -05:00
|
|
|
/* Emit */
|
2022-02-28 21:40:34 -05:00
|
|
|
"target": "ES2020",
|
2019-05-18 14:37:35 -04:00
|
|
|
"module": "commonjs",
|
2021-03-17 11:25:42 -04:00
|
|
|
"lib": ["ESNext", "DOM"],
|
2019-05-18 14:37:35 -04:00
|
|
|
"declaration": true,
|
2021-03-17 11:25:42 -04:00
|
|
|
"declarationMap": false,
|
2022-05-17 03:21:44 -04:00
|
|
|
"jsx": "react-native",
|
2022-03-06 00:09:10 -05:00
|
|
|
"importHelpers": true,
|
|
|
|
|
"noEmitHelpers": true,
|
2019-05-18 14:37:35 -04:00
|
|
|
|
|
|
|
|
/* Strict Type-Checking Options */
|
2022-03-06 00:09:10 -05:00
|
|
|
"allowUnreachableCode": false,
|
|
|
|
|
// Too hard to turn on
|
|
|
|
|
"exactOptionalPropertyTypes": false,
|
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
|
"noImplicitOverride": true,
|
|
|
|
|
"noImplicitReturns": true,
|
|
|
|
|
// `process.env` is usually accessed as property
|
|
|
|
|
"noPropertyAccessFromIndexSignature": false,
|
|
|
|
|
"noUncheckedIndexedAccess": true,
|
|
|
|
|
/* strict family */
|
2019-05-18 14:37:35 -04:00
|
|
|
"strict": true,
|
2022-03-06 00:09:10 -05:00
|
|
|
"alwaysStrict": true,
|
|
|
|
|
"noImplicitAny": true,
|
|
|
|
|
"noImplicitThis": true,
|
2019-05-18 14:37:35 -04:00
|
|
|
"strictBindCallApply": true,
|
2022-03-06 00:09:10 -05:00
|
|
|
"strictFunctionTypes": true,
|
|
|
|
|
"strictNullChecks": true,
|
2019-05-18 14:37:35 -04:00
|
|
|
"strictPropertyInitialization": true,
|
2022-03-06 00:09:10 -05:00
|
|
|
"useUnknownInCatchVariables": true,
|
|
|
|
|
/* Handled by ESLint */
|
|
|
|
|
"noUnusedLocals": false,
|
2020-08-07 05:47:43 -04:00
|
|
|
"noUnusedParameters": false,
|
2022-03-06 00:09:10 -05:00
|
|
|
"importsNotUsedAsValues": "remove",
|
2020-08-07 05:47:43 -04:00
|
|
|
|
2022-03-06 00:09:10 -05:00
|
|
|
/* Module Resolution */
|
2019-05-18 14:37:35 -04:00
|
|
|
"moduleResolution": "node",
|
2022-03-06 00:09:10 -05:00
|
|
|
"resolveJsonModule": true,
|
2019-05-18 14:37:35 -04:00
|
|
|
"allowSyntheticDefaultImports": true,
|
|
|
|
|
"esModuleInterop": true,
|
2022-03-06 00:09:10 -05:00
|
|
|
"forceConsistentCasingInFileNames": true,
|
2021-05-14 09:36:55 -04:00
|
|
|
"isolatedModules": true,
|
2022-03-06 00:09:10 -05:00
|
|
|
"skipLibCheck": true // @types/webpack and webpack/types.d.ts are not the same thing
|
2019-05-18 14:37:35 -04:00
|
|
|
},
|
2022-05-17 03:21:44 -04:00
|
|
|
"exclude": ["node_modules", "**/__tests__/**", "**/lib/**/*"]
|
2019-05-18 14:37:35 -04:00
|
|
|
}
|