This commit is contained in:
Erich Gamma 2016-01-28 14:42:10 +01:00
parent df7a28a904
commit d3c32e6929
2 changed files with 28 additions and 0 deletions

View file

@ -114,6 +114,10 @@
{
"fileMatch": "tsconfig.json",
"url": "http://json.schemastore.org/tsconfig"
},
{
"fileMatch": "tsconfig.json",
"url": "./schemas/tsconfig.schema.json"
}
]
}

View 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"
}
}
}
}
}