Skip to content

Commit 3463e4a

Browse files
committed
feat: add yaml validation
1 parent ab8310d commit 3463e4a

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@
2323
"fileMatch": "scripts.json",
2424
"url": "./out/schema.json"
2525
}
26+
],
27+
"yamlValidation": [
28+
{
29+
"fileMatch": "velociraptor.yaml",
30+
"url": "./out/schema.json"
31+
},
32+
{
33+
"fileMatch": "velociraptor.yml",
34+
"url": "./out/schema.json"
35+
},
36+
{
37+
"fileMatch": "scripts.yaml",
38+
"url": "./out/schema.json"
39+
},
40+
{
41+
"fileMatch": "scripts.yml",
42+
"url": "./out/schema.json"
43+
}
2644
]
2745
},
2846
"scripts": {
@@ -47,5 +65,6 @@
4765
"ts-json-schema-generator": "^0.68.0",
4866
"typescript": "^3.8.3",
4967
"vscode-test": "^1.3.0"
50-
}
68+
},
69+
"extensionDependencies": ["redhat.vscode-yaml"]
5170
}

0 commit comments

Comments
 (0)