mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Sorry about the thrash in advance! This removes the top level `forget` directory which adds unnecessary nesting to our repo Hopefully everything still works
30 lines
704 B
JSON
30 lines
704 B
JSON
{
|
|
"extends": "@tsconfig/node16-strictest/tsconfig.json",
|
|
"compilerOptions": {
|
|
"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,
|
|
"baseUrl": "."
|
|
},
|
|
"exclude": ["node_modules"],
|
|
"include": ["src/**/*.ts"],
|
|
"references": [
|
|
{
|
|
"path": "../fixture-test-utils"
|
|
},
|
|
{
|
|
"path": "../babel-plugin-react-forget"
|
|
}
|
|
]
|
|
}
|