Add license scheme to vscode settings

This commit is contained in:
Robin van der Linde 2024-02-16 23:31:13 +01:00
parent 7f6cde223f
commit a80101a9b4
No known key found for this signature in database
GPG key ID: 53956B3252478F0D

35
.vscode/settings.json vendored
View file

@ -7,6 +7,41 @@
{
"fileMatch": ["/assets/themes/*/*.json", "!/assets/themes/*/license_info.json"],
"url": "./Docs/Schemas/LayoutConfigJson.schema.json"
},
{
"fileMatch": ["/assets/themes/*/license_info.json", "/assets/layers/*/license_info.json"],
"schema": {
"type": "array",
"title": "License Info",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Path to the file"
},
"authors": {
"type": "array",
"description": "Authors of the file",
"items": {
"type": "string"
}
},
"license": {
"type": "string",
"description": "License of the file"
},
"sources": {
"type": "array",
"description": "Sources of the file",
"items": {
"type": "string"
}
}
},
"required": ["path", "authors", "license", "sources"]
}
}
}
],
"editor.tabSize": 2,