Skip to content

Commit

Permalink
Allow trailing commas for tsconfig.json (SchemaStore#3368)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall authored Nov 5, 2023
1 parent 4c51b2f commit 81dfb48
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/schema-validation.json
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,11 @@
},
{
"tsconfig.json": {
"unknownKeywords": ["markdownDescription", "markdownEnumDescriptions"]
"unknownKeywords": [
"allowTrailingCommas",
"markdownDescription",
"markdownEnumDescriptions"
]
}
},
{
Expand All @@ -673,7 +677,11 @@
{
"tsoa.json": {
"externalSchema": ["tsconfig.json"],
"unknownKeywords": ["markdownDescription", "markdownEnumDescriptions"]
"unknownKeywords": [
"allowTrailingCommas",
"markdownDescription",
"markdownEnumDescriptions"
]
}
},
{
Expand Down
1 change: 1 addition & 0 deletions src/schemas/json/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"allowTrailingCommas": true,
"allOf": [
{
"$ref": "#/definitions/compilerOptionsDefinition"
Expand Down

0 comments on commit 81dfb48

Please sign in to comment.