mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
ghstack-source-id: c6c825f5efdb4f9c413050b22b7713966871338c Pull Request resolved: https://github.com/facebook/react-forget/pull/2931
24 lines
633 B
JSON
24 lines
633 B
JSON
{
|
|
"extends": "@tsconfig/strictest/tsconfig.json",
|
|
"compilerOptions": {
|
|
"module": "ES2015",
|
|
"moduleResolution": "Bundler",
|
|
"declaration": true,
|
|
"outDir": "dist",
|
|
"jsx": "react-jsxdev",
|
|
|
|
// weaken strictness from preset
|
|
"importsNotUsedAsValues": "remove",
|
|
"noUncheckedIndexedAccess": false,
|
|
"noUnusedParameters": false,
|
|
"useUnknownInCatchVariables": false,
|
|
"target": "ES2015",
|
|
// ideally turn off only during dev, or on a per-file basis
|
|
"noUnusedLocals": false,
|
|
"sourceMap": true,
|
|
"removeComments": true
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": ["src/**/*.ts"]
|
|
}
|