From f8b2e22b89f13b5bd3eefc4e8781478337ef711a Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Wed, 28 Feb 2018 11:00:39 +0100 Subject: [PATCH] Missing JSON schema in tsconfig.json. Fixes #44718 --- extensions/typescript-basics/package.json | 22 ++++++++++++++++++++++ extensions/typescript/package.json | 23 +---------------------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/extensions/typescript-basics/package.json b/extensions/typescript-basics/package.json index 4d398fb1b7f..0a97409ae67 100644 --- a/extensions/typescript-basics/package.json +++ b/extensions/typescript-basics/package.json @@ -65,6 +65,28 @@ "language": "typescriptreact", "path": "./snippets/typescript.json" } + ], + "jsonValidation": [ + { + "fileMatch": "tsconfig.json", + "url": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json" + }, + { + "fileMatch": "tsconfig.json", + "url": "./schemas/tsconfig.schema.json" + }, + { + "fileMatch": "tsconfig.*.json", + "url": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json" + }, + { + "fileMatch": "tsconfig.*.json", + "url": "./schemas/tsconfig.schema.json" + }, + { + "fileMatch": "typings.json", + "url": "https://schemastore.azurewebsites.net/schemas/json/typings.json" + } ] } } \ No newline at end of file diff --git a/extensions/typescript/package.json b/extensions/typescript/package.json index fda672bf9fa..2890a064cff 100644 --- a/extensions/typescript/package.json +++ b/extensions/typescript/package.json @@ -517,28 +517,7 @@ "language": "typescriptreact" } ], - "jsonValidation": [ - { - "fileMatch": "tsconfig.json", - "url": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json" - }, - { - "fileMatch": "tsconfig.json", - "url": "./schemas/tsconfig.schema.json" - }, - { - "fileMatch": "tsconfig.*.json", - "url": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json" - }, - { - "fileMatch": "tsconfig.*.json", - "url": "./schemas/tsconfig.schema.json" - }, - { - "fileMatch": "typings.json", - "url": "https://schemastore.azurewebsites.net/schemas/json/typings.json" - } - ], + "taskDefinitions": [ { "type": "typescript",