mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
We are adding MDX files to `.gitignore` for now since they are just a result of a build process, once the migration is done, we will not ignore them. We're using PNPM workspaces to manage this project. The new project's tsconfig.json has been copied from the current root tsconfig.json while omitting some details that are only relevant to that project. `help-beta/src/env.d.ts` is a type declaration file auto-generated by Astro. See https://github.com/withastro/astro/issues/6013.
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Type Checking */
|
|
"exactOptionalPropertyTypes": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strict": true,
|
|
|
|
/* Modules */
|
|
"moduleResolution": "node",
|
|
"paths": {
|
|
"*": ["./web/src/types/*"],
|
|
},
|
|
"resolveJsonModule": true,
|
|
"types": ["@types/jquery.validation"],
|
|
|
|
/* Emit */
|
|
"noEmit": true,
|
|
|
|
/* Interop Constraints */
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
|
|
/* Language and Environment */
|
|
"target": "ESNext",
|
|
|
|
/* Projects */
|
|
"composite": true,
|
|
},
|
|
"exclude": [
|
|
// Type stubs are not part of the top-level project.
|
|
"web/src/types",
|
|
|
|
// This is a separate package with its own TypeScript configuration.
|
|
"help-beta",
|
|
|
|
// Skip walking large generated directories.
|
|
"docs/_build",
|
|
"static/webpack-bundles",
|
|
"var",
|
|
"zulip-py3-venv",
|
|
|
|
// Even though allowJs defaults to false, typescript-eslint forces it to true.
|
|
"**/*.js",
|
|
],
|
|
}
|