zulip/tsconfig.json

54 lines
1.4 KiB
JSON

{
"compilerOptions": {
/* Type Checking */
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
/* Modules */
"allowImportingTsExtensions": true,
"module": "preserve",
"moduleResolution": "bundler",
"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",
],
}