Move js/ts json validation to js/ts language features extension

Fixes #73336
This commit is contained in:
Matt Bierner 2019-10-04 15:31:21 -07:00
parent e1011ffcc8
commit a967c8ada3
5 changed files with 57 additions and 61 deletions

View file

@ -98,36 +98,6 @@
"language": "javascriptreact",
"path": "./snippets/javascript.json"
}
],
"jsonValidation": [
{
"fileMatch": ".bowerrc",
"url": "https://schemastore.azurewebsites.net/schemas/json/bowerrc.json"
},
{
"fileMatch": ".babelrc",
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
},
{
"fileMatch": ".babelrc.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
},
{
"fileMatch": "jsconfig.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
},
{
"fileMatch": "jsconfig.json",
"url": "./schemas/jsconfig.schema.json"
},
{
"fileMatch": "jsconfig.*.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
},
{
"fileMatch": "jsconfig.*.json",
"url": "./schemas/jsconfig.schema.json"
}
]
}
}
}

View file

@ -98,36 +98,6 @@
"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": "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"
}
]
}
}

View file

@ -53,6 +53,62 @@
{
"fileMatch": "package.json",
"url": "./schemas/package.schema.json"
},
{
"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": "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"
},
{
"fileMatch": ".bowerrc",
"url": "https://schemastore.azurewebsites.net/schemas/json/bowerrc.json"
},
{
"fileMatch": ".babelrc",
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
},
{
"fileMatch": ".babelrc.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/babelrc.json"
},
{
"fileMatch": "jsconfig.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
},
{
"fileMatch": "jsconfig.json",
"url": "./schemas/jsconfig.schema.json"
},
{
"fileMatch": "jsconfig.*.json",
"url": "https://schemastore.azurewebsites.net/schemas/json/jsconfig.json"
},
{
"fileMatch": "jsconfig.*.json",
"url": "./schemas/jsconfig.schema.json"
}
],
"configuration": {