Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions src/schemas/json/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,37 @@
"properties": {
"files": {
"type": "array",
"description": "If no 'files' property is present in a tsconfig.json, the compiler defaults to including all files the containing directory and subdirectories. When a 'files' property is specified, only those files are included.",
"description": "If no 'files' or 'include' property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by 'exclude'. When a 'files' property is specified, only those files and those specified by 'include' are included.",
"items": {
"type": "string",
"format": "uri"
}
}
}
},
"includeDefinition": {
"properties": {
"include": {
"type": "array",
"description": "Specifies a list of glob patterns that match files to be included in compilation. If no 'files' or 'include' property is present in a tsconfig.json, the compiler defaults to including all files in the containing directory and subdirectories except those specified by 'exclude'.",
"items": {
"type": "string",
"format": "uri"
}
}
},
"not": {
"required": [ "exclude" ]
}
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're missing a } here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, just noticed that too. Should be fixed now

"excludeDefinition": {
"properties": {
"exclude": {
"type": "array",
"description": "The 'exclude' property cannot be used in conjunction with the 'files' property. If both are specified then the 'files' property takes precedence.",
"description": "Specifies a list of glob patterns that match files to be excluded from compilation. The 'exclude' property only affects the files included via the 'include' property and not the 'files' property.",
"items": {
"type": "string",
"format": "uri"
}
},
"default": ["node_modules", "bower_components", "jspm_packages"]
}
},
"not": {
"required": [ "files" ]
}
},
"compileOnSaveDefinition": {
Expand Down