Adopt unified js/ts setting for diagnostic settings

For #292934

Also renames validate.enable to `validate.enabled` to align with other settings
This commit is contained in:
Matt Bierner
2026-02-20 17:54:24 -08:00
parent 42bb5a85ee
commit 655ce6f07e
6 changed files with 46 additions and 35 deletions

View File

@@ -1366,22 +1366,44 @@
"type": "object",
"title": "%configuration.validation%",
"properties": {
"js/ts.validate.enabled": {
"type": "boolean",
"default": true,
"description": "%configuration.validate.enable%",
"scope": "language-overridable",
"tags": [
"JavaScript",
"TypeScript"
]
},
"typescript.validate.enable": {
"type": "boolean",
"default": true,
"description": "%typescript.validate.enable%",
"markdownDeprecationMessage": "%configuration.validate.enable.unifiedDeprecationMessage%",
"scope": "window"
},
"javascript.validate.enable": {
"type": "boolean",
"default": true,
"description": "%javascript.validate.enable%",
"markdownDeprecationMessage": "%configuration.validate.enable.unifiedDeprecationMessage%",
"scope": "window"
},
"js/ts.reportStyleChecksAsWarnings": {
"type": "boolean",
"default": true,
"description": "%typescript.reportStyleChecksAsWarnings%",
"scope": "window",
"tags": [
"TypeScript"
]
},
"typescript.reportStyleChecksAsWarnings": {
"type": "boolean",
"default": true,
"description": "%typescript.reportStyleChecksAsWarnings%",
"markdownDeprecationMessage": "%configuration.reportStyleChecksAsWarnings.unifiedDeprecationMessage%",
"scope": "window"
},
"js/ts.suggestionActions.enabled": {