Home / File/ tsconfig.json — react Source File

tsconfig.json — react Source File

Architecture documentation for tsconfig.json, a json file in the react codebase.

Entity Profile

Source Code

{
  "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": ["../../compiler/packages/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"]
}

Frequently Asked Questions

What does tsconfig.json do?
tsconfig.json is a source file in the react codebase, written in json.
Where is tsconfig.json in the architecture?
tsconfig.json is located at packages/eslint-plugin-react-hooks/tsconfig.json (directory: packages/eslint-plugin-react-hooks).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free