blob: b7e9d524c5999378d85c91768aaea0757e11388f [file] [log] [blame]
Ben Rohlfsaf3ea832021-08-17 13:10:16 +02001{
2 "compilerOptions": {
3 /* Basic Options */
Chris Poucet0fd3b6a2021-08-26 17:18:57 +00004 "target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
Ben Rohlfsaf3ea832021-08-17 13:10:16 +02005 "module": "es2015", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
6 "inlineSourceMap": true, /* Generates corresponding '.map' file. */
7 "rootDir": ".", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
8 "removeComments": false, /* Emit comments to output */
9
10 /* Strict Type-Checking Options */
11 "strict": true, /* Enable all strict type-checking options. */
12 "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
13 "strictNullChecks": true, /* Enable strict null checks. */
14 "strictFunctionTypes": true, /* Enable strict checking of function types. */
15 "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
16 "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
17 "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
18
19 /* Additional Checks */
20 "noUnusedLocals": true, /* Report errors on unused locals. */
21 "noUnusedParameters": true, /* Report errors on unused parameters. */
22 "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
Gerrit Code Reviewd3f24192021-09-28 10:30:30 +020023 "noImplicitOverride": true,
Ben Rohlfsaf3ea832021-08-17 13:10:16 +020024 "noFallthroughCasesInSwitch": true,/* Report errors for fallthrough cases in switch statement. */
25
26 "skipLibCheck": true, /* Do not check node_modules */
27
28 /* Module Resolution Options */
29 "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
30 "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
31 "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
32
33 /* Advanced Options */
34 "forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
35 "incremental": true,
36 "experimentalDecorators": true,
37
Ben Rohlfsfa930432021-09-20 13:16:51 +020038 "allowUmdGlobalAccess": true,
39
40 "typeRoots": [
41 /* typeRoots for Bazel */
42 "../external/ui_dev_npm/node_modules/@types",
43 "../external/plugins_npm/node_modules/@types",
44 /* typeRoots for IDE */
45 "../polygerrit-ui/node_modules/@types",
46 "../plugins/node_modules/@types"
47 ]
Ben Rohlfsaf3ea832021-08-17 13:10:16 +020048 },
49}