forked from forcedotcom/salesforcedx-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.common.json
26 lines (26 loc) · 1.16 KB
/
tsconfig.common.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// https://www.typescriptlang.org/tsconfig#extends
// The configuration from this file is loaded first, then overridden by those in the inheriting config file. But path-based compiler options (outDir, outFile, rootDir, include, exclude, files) are resolved from the config file they're found in. They cannot be extended (https://github.com/microsoft/TypeScript/issues/29172).
// Config ref: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
{
// https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
"extends": "@tsconfig/node14/tsconfig.json",
"compilerOptions": {
"composite": true,
// ES target/lib overridden due to incompatibility with integration tests
// TODO (fix): Need to upgrade ES target/lib and vscode engines version to match node target (W-11052244)
"target": "es6",
"lib": [
"es6",
"dom"
],
"moduleResolution": "node",
"esModuleInterop": false,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"preserveConstEnums": true,
"noImplicitAny": true,
// TODO: cleanup unused vars (about 170 errors of unused vars) (W-11052270)
// "noUnusedLocals": true,
}
}