Use js/tsconfig schema for jsconfig.*.json files (#24637)

Fixes #24572

Applies the js/tsconfig schema to file names such as `jsconfig.app.json`
This commit is contained in:
Matt Bierner 2017-04-12 14:46:08 -07:00 committed by GitHub
parent c342bea4e5
commit 5f628cd731
2 changed files with 18 additions and 2 deletions

View file

@ -111,15 +111,23 @@
},
{
"fileMatch": "jsconfig.json",
"url": "./schemas/jsconfig.schema.json"
"url": "http://json.schemastore.org/jsconfig"
},
{
"fileMatch": "jsconfig.json",
"url": "./schemas/jsconfig.schema.json"
},
{
"fileMatch": "jsconfig.*.json",
"url": "http://json.schemastore.org/jsconfig"
},
{
"fileMatch": "jsconfig.*.json",
"url": "./schemas/jsconfig.schema.json"
}
]
},
"devDependencies": {
"@types/node": "^7.0.4"
}
}
}

View file

@ -382,6 +382,14 @@
{
"fileMatch": "tsconfig.json",
"url": "./schemas/tsconfig.schema.json"
},
{
"fileMatch": "tsconfig.*.json",
"url": "http://json.schemastore.org/tsconfig"
},
{
"fileMatch": "tsconfig.*.json",
"url": "./schemas/tsconfig.schema.json"
},
{
"fileMatch": "typings.json",