mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Use esnext as implicit js/ts module
For https://github.com/microsoft/TypeScript/issues/46698 Also adds new settings for the target and module in implicit projects
This commit is contained in:
@@ -636,6 +636,46 @@
|
||||
"%format.semicolons.remove%"
|
||||
]
|
||||
},
|
||||
"js/ts.implicitProjectConfig.module": {
|
||||
"type": "string",
|
||||
"markdownDescription": "%configuration.implicitProjectConfig.module%",
|
||||
"default": "ESNext",
|
||||
"enum": [
|
||||
"CommonJS",
|
||||
"AMD",
|
||||
"System",
|
||||
"UMD",
|
||||
"ES6",
|
||||
"ES2015",
|
||||
"ES2020",
|
||||
"ESNext",
|
||||
"None",
|
||||
"ES2022",
|
||||
"Node12",
|
||||
"NodeNext"
|
||||
],
|
||||
"scope": "window"
|
||||
},
|
||||
"js/ts.implicitProjectConfig.target": {
|
||||
"type": "string",
|
||||
"default": "ES2020",
|
||||
"markdownDescription": "%configuration.implicitProjectConfig.target%",
|
||||
"enum": [
|
||||
"ES3",
|
||||
"ES5",
|
||||
"ES6",
|
||||
"ES2015",
|
||||
"ES2016",
|
||||
"ES2017",
|
||||
"ES2018",
|
||||
"ES2019",
|
||||
"ES2020",
|
||||
"ES2021",
|
||||
"ES2022",
|
||||
"ESNext"
|
||||
],
|
||||
"scope": "window"
|
||||
},
|
||||
"javascript.implicitProjectConfig.checkJs": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
|
||||
Reference in New Issue
Block a user