Skip to content

Commit b54cc27

Browse files
authored
Update ECMAScript version to be the same across the codebase (#1177)
1 parent 649d6d9 commit b54cc27

4 files changed

Lines changed: 8 additions & 18 deletions

File tree

extensions/ql-vscode/gulpfile.ts/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"strict": true,
66
"module": "commonjs",
77
"target": "es2017",
8-
"lib": ["es6"],
8+
"lib": ["ES2021"],
99
"moduleResolution": "node",
1010
"sourceMap": true,
1111
"rootDir": ".",

extensions/ql-vscode/src/compare/view/tsconfig.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
"moduleResolution": "node",
55
"target": "es6",
66
"outDir": "out",
7-
"lib": [
8-
"es6",
9-
"dom"
10-
],
7+
"lib": ["ES2021", "dom"],
118
"jsx": "react",
129
"sourceMap": true,
1310
"rootDir": "..",
@@ -17,7 +14,5 @@
1714
"noFallthroughCasesInSwitch": true,
1815
"experimentalDecorators": true
1916
},
20-
"exclude": [
21-
"node_modules"
22-
]
23-
}
17+
"exclude": ["node_modules"]
18+
}

extensions/ql-vscode/src/remote-queries/view/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"moduleResolution": "node",
55
"target": "es6",
66
"outDir": "out",
7-
"lib": ["es6", "dom"],
7+
"lib": ["ES2021", "dom"],
88
"jsx": "react",
99
"sourceMap": true,
1010
"rootDir": "..",

extensions/ql-vscode/src/view/tsconfig.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
"moduleResolution": "node",
55
"target": "es6",
66
"outDir": "out",
7-
"lib": [
8-
"es6",
9-
"dom"
10-
],
7+
"lib": ["ES2021", "dom"],
118
"jsx": "react",
129
"sourceMap": true,
1310
"rootDir": "..",
@@ -17,7 +14,5 @@
1714
"noFallthroughCasesInSwitch": true,
1815
"experimentalDecorators": true
1916
},
20-
"exclude": [
21-
"node_modules"
22-
]
23-
}
17+
"exclude": ["node_modules"]
18+
}

0 commit comments

Comments
 (0)