Skip to content

Commit 017ccc7

Browse files
authored
add json schema config (#432)
1 parent 5e48be8 commit 017ccc7

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
.esm-cache
3-
.vscode/
43
.idea/
54
/node_modules/
65
/.tx/tmp/

.vscode/settings.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"json.schemas": [
3+
{
4+
"fileMatch": [
5+
"data/fields/**/*.json"
6+
],
7+
"url": "./node_modules/@ideditor/schema-builder/schemas/field.json"
8+
},
9+
{
10+
"fileMatch": [
11+
"data/presets/**/*.json"
12+
],
13+
"url": "./node_modules/@ideditor/schema-builder/schemas/preset.json"
14+
},
15+
{
16+
"fileMatch": [
17+
"data/preset_categories/**/*.json"
18+
],
19+
"url": "./node_modules/@ideditor/schema-builder/schemas/preset_category.json"
20+
},
21+
{
22+
"fileMatch": [
23+
"data/deprecated.json"
24+
],
25+
"url": "./node_modules/@ideditor/schema-builder/schemas/deprecated.json"
26+
},
27+
{
28+
"fileMatch": [
29+
"data/discarded.json"
30+
],
31+
"url": "./node_modules/@ideditor/schema-builder/schemas/discarded.json"
32+
},
33+
{
34+
"fileMatch": [
35+
"data/preset_defaults.json"
36+
],
37+
"url": "./node_modules/@ideditor/schema-builder/schemas/preset_defaults.json"
38+
}
39+
]
40+
}

0 commit comments

Comments
 (0)