mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fixes #2455
This commit is contained in:
parent
df7a28a904
commit
d3c32e6929
|
@ -114,6 +114,10 @@
|
|||
{
|
||||
"fileMatch": "tsconfig.json",
|
||||
"url": "http://json.schemastore.org/tsconfig"
|
||||
},
|
||||
{
|
||||
"fileMatch": "tsconfig.json",
|
||||
"url": "./schemas/tsconfig.schema.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
24
extensions/typescript/schemas/tsconfig.schema.json
Normal file
24
extensions/typescript/schemas/tsconfig.schema.json
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"title": "JSON schema for the JavaScript configuration file",
|
||||
"type": "object",
|
||||
"default": {
|
||||
"compilerOptions": {
|
||||
"module": "commonjs"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
},
|
||||
"properties": {
|
||||
"compilerOptions": {
|
||||
"type": "object",
|
||||
"description": "Instructs the JavaScript language service how to validate .js files",
|
||||
"properties": {
|
||||
"allowJs": {
|
||||
"description": "Includes JS (requires TypeScript 1.8)",
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue