Ben Rohlfs | af3ea83 | 2021-08-17 13:10:16 +0200 | [diff] [blame] | 1 | { |
| 2 | "compilerOptions": { |
| 3 | /* Basic Options */ |
Chris Poucet | 0fd3b6a | 2021-08-26 17:18:57 +0000 | [diff] [blame] | 4 | "target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */ |
Ben Rohlfs | af3ea83 | 2021-08-17 13:10:16 +0200 | [diff] [blame] | 5 | "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 Review | d3f2419 | 2021-09-28 10:30:30 +0200 | [diff] [blame] | 23 | "noImplicitOverride": true, |
Ben Rohlfs | af3ea83 | 2021-08-17 13:10:16 +0200 | [diff] [blame] | 24 | "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 Rohlfs | fa93043 | 2021-09-20 13:16:51 +0200 | [diff] [blame] | 38 | "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 Rohlfs | af3ea83 | 2021-08-17 13:10:16 +0200 | [diff] [blame] | 48 | }, |
| 49 | } |