Files
react/compiler/packages/babel-plugin-react-forget/tsconfig.json
T
Lauren Tan 4e6aa42773 Upgrade to typescript 5.4.3
This PR makes all packages share the same typescript version and updates us to 
latest versions of typescript, ts-node, typescript-eslint/eslint-plugin and 
typescript-eslint/parser. 

I also noticed that the tsconfig we were extending (node18-strictest) was 
deprecated, so I switched us over to one that's more up to date. 

Also had to make a couple of small changes to the playground so that continues 
to build correctly.
2024-04-02 10:32:23 -04:00

41 lines
1.1 KiB
JSON

{
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"module": "ES2015",
"moduleResolution": "Bundler",
"declaration": true,
"declarationDir": "./dist",
"declarationMap": false,
"rootDir": "src",
"outDir": "dist",
// https://github.com/microsoft/TypeScript/issues/30925
"tsBuildInfoFile": "dist/tsconfig.tsbuildinfo",
"jsx": "react-jsxdev",
// weaken strictness from preset
"importsNotUsedAsValues": "remove",
"noUncheckedIndexedAccess": false,
"noUnusedParameters": false,
"useUnknownInCatchVariables": true,
"target": "ES2015",
// ideally turn off only during dev, or on a per-file basis
"noUnusedLocals": false,
"composite": true,
},
"exclude": [
"node_modules",
"src/__tests__/fixtures"
],
"include": [
"src/**/*.ts"
],
"ts-node": {
"transpileOnly": true,
// these options are overrides used only by ts-node
// same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
}
}
}