Files
react/compiler/packages/eslint-plugin-react-hooks/tsconfig.json
T
Lauren Tan 63fcca2856 [eprh] Move to compiler directory
Moves the plugin into the compiler directory.

- Remove eslint-plugin-react-hooks from bundles.js
- Remove eslint-plugin-react-hooks from ReactVersions.js
- Remove jest.config.js
- Remove babel.config-react-compiler.js
- Replace babel.config.js with copy from eslint-plugin-react-compiler
- Add tsup.config.ts to eslint-plugin-react-hooks
- Add eslint-plugin-react-hooks to compiler release scripts
2025-03-19 16:07:54 -04:00

34 lines
922 B
JSON

{
"extends": "@tsconfig/strictest/tsconfig.json",
"compilerOptions": {
"module": "ES2015",
"target": "ES2015",
"moduleResolution": "Bundler",
"lib": ["ES2020", "dom"],
"sourceMap": false,
"types": ["estree-jsx", "node"],
"downlevelIteration": true,
"paths": {
"babel-plugin-react-compiler": ["../babel-plugin-react-compiler/src"]
},
"jsx": "react-jsxdev",
"rootDir": "../..",
"baseUrl": ".",
"typeRoots": [
"../../node_modules/@types"
],
"checkJs": false,
"allowJs": false,
// weaken strictness from preset
"importsNotUsedAsValues": "remove",
"noUncheckedIndexedAccess": false,
"noUnusedParameters": false,
"useUnknownInCatchVariables": true,
// ideally turn off only during dev, or on a per-file basis
"noUnusedLocals": false,
"removeComments": true,
},
"include": ["src/**/*.ts", "__tests__/**/*.ts"]
}