2017-05-24 20:31:00 +02:00
|
|
|
{
|
2019-02-08 11:51:32 +01:00
|
|
|
"compilerOptions": {
|
2024-06-09 19:59:42 +02:00
|
|
|
/* Type Checking */
|
|
|
|
"exactOptionalPropertyTypes": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
|
|
|
"noImplicitOverride": true,
|
|
|
|
"noImplicitReturns": true,
|
|
|
|
"noUncheckedIndexedAccess": true,
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"strict": true,
|
|
|
|
|
|
|
|
/* Modules */
|
|
|
|
"moduleResolution": "node",
|
2019-06-20 11:59:55 +02:00
|
|
|
"paths": {
|
2024-06-09 19:59:39 +02:00
|
|
|
"*": ["./web/src/types/*"],
|
2019-06-20 11:59:55 +02:00
|
|
|
},
|
2024-06-09 19:59:42 +02:00
|
|
|
"resolveJsonModule": true,
|
2023-06-12 23:38:02 +02:00
|
|
|
"types": ["@types/jquery.validation"],
|
2019-06-20 11:59:55 +02:00
|
|
|
|
2024-06-09 19:59:42 +02:00
|
|
|
/* Emit */
|
2019-07-20 20:40:36 +02:00
|
|
|
"noEmit": true,
|
2019-02-08 11:51:32 +01:00
|
|
|
|
2024-06-09 19:59:42 +02:00
|
|
|
/* Interop Constraints */
|
|
|
|
"esModuleInterop": true,
|
2019-10-30 00:25:26 +01:00
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"isolatedModules": true,
|
2019-02-08 11:51:32 +01:00
|
|
|
|
2024-06-09 19:59:42 +02:00
|
|
|
/* Language and Environment */
|
|
|
|
"target": "ESNext",
|
2024-06-09 20:08:44 +02:00
|
|
|
|
|
|
|
/* Projects */
|
|
|
|
"composite": true,
|
2019-06-20 11:59:55 +02:00
|
|
|
},
|
|
|
|
"exclude": [
|
2024-06-09 19:59:42 +02:00
|
|
|
// Type stubs are not part of the top-level project.
|
2023-02-22 23:03:47 +01:00
|
|
|
"web/src/types",
|
2019-11-21 22:13:41 +01:00
|
|
|
|
2024-06-17 13:52:47 +02:00
|
|
|
// This is a separate package with its own TypeScript configuration.
|
|
|
|
"help-beta",
|
|
|
|
|
2024-06-09 19:59:42 +02:00
|
|
|
// Skip walking large generated directories.
|
2019-11-21 22:13:41 +01:00
|
|
|
"docs/_build",
|
|
|
|
"static/webpack-bundles",
|
|
|
|
"var",
|
|
|
|
"zulip-py3-venv",
|
|
|
|
|
2024-06-09 19:59:42 +02:00
|
|
|
// Even though allowJs defaults to false, typescript-eslint forces it to true.
|
2019-11-21 22:13:41 +01:00
|
|
|
"**/*.js",
|
2019-06-20 11:59:55 +02:00
|
|
|
],
|
2017-05-24 20:31:00 +02:00
|
|
|
}
|