blob: e498c33e888910f4dc3c50e74cfba21a51d9b163 [file] [log] [blame]
{
"compilerOptions": {
// Since Typescript 6, strict mode is enabled by default, but our codebase
// unfortunately only compiles under non-strict mode. We're doing a best
// effort to migrate packages to a strict mode, so the base tsconfig will
// disable it until all the codebase supports it. See
// https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html#simple-default-changes.
"strict": false,
"sourceMap": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"module": "es2022",
"target": "esnext",
"moduleResolution": "bundler",
"esModuleInterop": true,
"allowJs": true,
"paths": {
"@/*": ["./src/*"]
},
// This is the default in Typescript < 6. In Typescript 6, it is suggested
// to set only the types used to improve performance. But, since each
// package only sets dependencies on the types, we can set this to "*"
// without worrying about performance. See
// https://www.typescriptlang.org/docs/handbook/release-notes/typescript-6-0.html#types-now-defaults-to-.
"types": ["*"]
},
"exclude": [
"node_modules",
"dist",
"bazel-bin",
"bazel-infinitegforums",
"bazel-out",
"bazel-testlogs",
"bazel-*"
]
}