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",