add json schema config (#432)

This commit is contained in:
Kyℓe Hensel 2022-05-12 22:27:04 +12:00 committed by GitHub
parent 5e48be8663
commit 017ccc7f55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 1 deletions

1
.gitignore vendored
View file

@ -1,6 +1,5 @@
.DS_Store
.esm-cache
.vscode/
.idea/
/node_modules/
/.tx/tmp/

40
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,40 @@
{
"json.schemas": [
{
"fileMatch": [
"data/fields/**/*.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/field.json"
},
{
"fileMatch": [
"data/presets/**/*.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/preset.json"
},
{
"fileMatch": [
"data/preset_categories/**/*.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/preset_category.json"
},
{
"fileMatch": [
"data/deprecated.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/deprecated.json"
},
{
"fileMatch": [
"data/discarded.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/discarded.json"
},
{
"fileMatch": [
"data/preset_defaults.json"
],
"url": "./node_modules/@ideditor/schema-builder/schemas/preset_defaults.json"
}
]
}