Skip to content

Commit 5f628cd

Browse files
authored
Use js/tsconfig schema for jsconfig.*.json files (microsoft#24637)
Fixes microsoft#24572 Applies the js/tsconfig schema to file names such as `jsconfig.app.json`
1 parent c342bea commit 5f628cd

2 files changed

Lines changed: 18 additions & 2 deletions

File tree

extensions/javascript/package.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,23 @@
111111
},
112112
{
113113
"fileMatch": "jsconfig.json",
114-
"url": "./schemas/jsconfig.schema.json"
114+
"url": "http://json.schemastore.org/jsconfig"
115115
},
116116
{
117117
"fileMatch": "jsconfig.json",
118+
"url": "./schemas/jsconfig.schema.json"
119+
},
120+
{
121+
"fileMatch": "jsconfig.*.json",
118122
"url": "http://json.schemastore.org/jsconfig"
123+
},
124+
{
125+
"fileMatch": "jsconfig.*.json",
126+
"url": "./schemas/jsconfig.schema.json"
119127
}
120128
]
121129
},
122130
"devDependencies": {
123131
"@types/node": "^7.0.4"
124132
}
125-
}
133+
}

extensions/typescript/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,14 @@
382382
{
383383
"fileMatch": "tsconfig.json",
384384
"url": "./schemas/tsconfig.schema.json"
385+
},
386+
{
387+
"fileMatch": "tsconfig.*.json",
388+
"url": "http://json.schemastore.org/tsconfig"
389+
},
390+
{
391+
"fileMatch": "tsconfig.*.json",
392+
"url": "./schemas/tsconfig.schema.json"
385393
},
386394
{
387395
"fileMatch": "typings.json",

0 commit comments

Comments
 (0)