Add license scheme to vscode settings
This commit is contained in:
parent
7f6cde223f
commit
a80101a9b4
1 changed files with 35 additions and 0 deletions
35
.vscode/settings.json
vendored
35
.vscode/settings.json
vendored
|
@ -7,6 +7,41 @@
|
||||||
{
|
{
|
||||||
"fileMatch": ["/assets/themes/*/*.json", "!/assets/themes/*/license_info.json"],
|
"fileMatch": ["/assets/themes/*/*.json", "!/assets/themes/*/license_info.json"],
|
||||||
"url": "./Docs/Schemas/LayoutConfigJson.schema.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,
|
"editor.tabSize": 2,
|
||||||
|
|
Loading…
Reference in a new issue