mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
Add js/ts.implicitProjectConfig.strict setting for implicit projects
- Add strict property to ImplicitProjectConfiguration class - Update inferredProjectCompilerOptions to handle strict setting - Add configuration setting to package.json with default true - Add localization string for the new setting - Create unit tests for the new functionality This enables strict mode by default in implicit JS/TS projects, aligning with TS 6.0. Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
This commit is contained in:
@@ -302,6 +302,12 @@
|
||||
"markdownDescription": "%configuration.implicitProjectConfig.strictFunctionTypes%",
|
||||
"scope": "window"
|
||||
},
|
||||
"js/ts.implicitProjectConfig.strict": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"markdownDescription": "%configuration.implicitProjectConfig.strict%",
|
||||
"scope": "window"
|
||||
},
|
||||
"typescript.tsc.autoDetect": {
|
||||
"type": "string",
|
||||
"default": "on",
|
||||
|
||||
Reference in New Issue
Block a user