Skip to content

Commit 90f2f34

Browse files
author
Andy
authored
Merge pull request #13447 from Microsoft/tsconfig
Use tsconfig inheritance
2 parents 04da707 + 30e2fd6 commit 90f2f34

File tree

7 files changed

+25
-59
lines changed

7 files changed

+25
-59
lines changed

src/compiler/tsconfig.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
{
2+
"extends": "../tsconfig-base",
23
"compilerOptions": {
3-
"noImplicitAny": true,
4-
"noImplicitThis": true,
54
"removeComments": true,
6-
"preserveConstEnums": true,
7-
"pretty": true,
85
"outFile": "../../built/local/tsc.js",
9-
"sourceMap": true,
106
"declaration": true,
11-
"stripInternal": true,
12-
"target": "es5",
13-
"noUnusedLocals": true,
14-
"noUnusedParameters": true,
157
"types": [ ]
168
},
179
"files": [

src/harness/tsconfig.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
{
2+
"extends": "../tsconfig-base",
23
"compilerOptions": {
3-
"noImplicitAny": true,
4-
"pretty": true,
54
"removeComments": false,
6-
"preserveConstEnums": true,
75
"outFile": "../../built/local/run.js",
8-
"sourceMap": true,
96
"declaration": false,
10-
"stripInternal": true,
117
"types": [
128
"node", "mocha", "chai"
13-
],
14-
"target": "es5",
15-
"noUnusedLocals": true,
16-
"noUnusedParameters": true
9+
]
1710
},
1811
"files": [
1912
"../compiler/core.ts",
@@ -85,7 +78,7 @@
8578
"../services/codefixes/importFixes.ts",
8679
"../services/codefixes/unusedIdentifierFixes.ts",
8780
"../services/harness.ts",
88-
81+
8982
"sourceMapRecorder.ts",
9083
"harnessLanguageService.ts",
9184
"fourslash.ts",

src/server/cancellationToken/tsconfig.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
{
2+
"extends": "../../tsconfig-base",
23
"compilerOptions": {
3-
"noImplicitAny": true,
4-
"noImplicitThis": true,
54
"removeComments": true,
6-
"preserveConstEnums": true,
7-
"pretty": true,
85
"module": "commonjs",
9-
"sourceMap": true,
10-
"stripInternal": true,
116
"types": [
127
"node"
13-
],
14-
"target": "es5",
15-
"noUnusedLocals": true,
16-
"noUnusedParameters": true
8+
]
179
},
1810
"files": [
1911
"cancellationToken.ts"

src/server/tsconfig.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
{
2+
"extends": "../tsconfig-base",
23
"compilerOptions": {
3-
"noImplicitAny": true,
4-
"noImplicitThis": true,
54
"removeComments": true,
6-
"preserveConstEnums": true,
7-
"pretty": true,
85
"outFile": "../../built/local/tsserver.js",
9-
"sourceMap": true,
10-
"stripInternal": true,
116
"types": [
127
"node"
13-
],
14-
"target": "es5",
15-
"noUnusedLocals": true,
16-
"noUnusedParameters": true
8+
]
179
},
1810
"files": [
1911
"../services/shims.ts",

src/server/typingsInstaller/tsconfig.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,11 @@
11
{
2+
"extends": "../../tsconfig-base",
23
"compilerOptions": {
3-
"noImplicitAny": true,
4-
"noImplicitThis": true,
54
"removeComments": true,
6-
"preserveConstEnums": true,
7-
"pretty": true,
85
"outFile": "../../../built/local/typingsInstaller.js",
9-
"sourceMap": true,
10-
"stripInternal": true,
116
"types": [
127
"node"
13-
],
14-
"target": "es5",
15-
"noUnusedLocals": true,
16-
"noUnusedParameters": true
8+
]
179
},
1810
"files": [
1911
"../types.ts",

src/services/tsconfig.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
{
2+
"extends": "../tsconfig-base",
23
"compilerOptions": {
3-
"noImplicitAny": true,
4-
"noImplicitThis": true,
54
"removeComments": false,
6-
"preserveConstEnums": true,
7-
"pretty": true,
85
"outFile": "../../built/local/typescriptServices.js",
9-
"sourceMap": true,
10-
"stripInternal": true,
11-
"noResolve": false,
126
"declaration": true,
13-
"target": "es5",
14-
"noUnusedLocals": true,
15-
"noUnusedParameters": true,
167
"types": []
178
},
189
"files": [

src/tsconfig-base.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"compilerOptions": {
3+
"lib": ["es5"],
4+
"noImplicitAny": true,
5+
"noImplicitThis": true,
6+
"noUnusedLocals": true,
7+
"noUnusedParameters": true,
8+
"pretty": true,
9+
"preserveConstEnums": true,
10+
"stripInternal": true,
11+
"sourceMap": true,
12+
"target": "es5"
13+
}
14+
}

0 commit comments

Comments
 (0)