@samitouri / QOS-React / commits / 706e04722f

[healthcheck] Init tsconfig

ghstack-source-id: 52339f8e5cde29d4e132762de2e4e4b31f25f8c1 Pull Request resolved: https://github.com/facebook/react-forget/pull/2885

Sathya Gunsasekaran committed Apr 23, 2024 at 12:28 UTC 706e04722f3a5a2177455d8c65e5166188d430c7
1 file changed +21
compiler/packages/health-check/tsconfig.json new
+21
@@ -0,0 +1,21 @@
1 +{
2 + "extends": "@tsconfig/strictest/tsconfig.json",
3 + "compilerOptions": {
4 + "module": "NodeNext",
5 + "moduleResolution": "NodeNext",
6 + "outDir": "dist",
7 + "jsx": "react-jsxdev",
8 + "lib": ["ES2022"],
9 +
10 + // weaken strictness from preset
11 + "importsNotUsedAsValues": "remove",
12 + "noUncheckedIndexedAccess": false,
13 + "noUnusedParameters": false,
14 + "useUnknownInCatchVariables": false,
15 + "target": "ES2015",
16 + // ideally turn off only during dev, or on a per-file basis
17 + "noUnusedLocals": false,
18 + },
19 + "exclude": ["node_modules"],
20 + "include": ["src/**/*.ts"],
21 +}