Skip to content

Commit 8af4c93

Browse files
authored
Adding JSON schema for extension yaml (#5984)
* Starting on extension.yaml json schema * finsh extension.yaml schema * adding events * add billingrequired * Adding schemas to vscode plugin too * reverting new format for firebase-config.json
1 parent 463e649 commit 8af4c93

File tree

2 files changed

+445
-1
lines changed

2 files changed

+445
-1
lines changed

firebase-vscode/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,19 @@
6868
"name": "Firebase"
6969
}
7070
]
71-
}
71+
},
72+
"jsonValidation": [
73+
{
74+
"fileMatch": "firebase.json",
75+
"url": "https://raw.githubusercontent.com/firebase/firebase-tools/master/schema/firebase-config.json"
76+
}
77+
],
78+
"yamlValidation": [
79+
{
80+
"fileMatch": "extension.yaml",
81+
"url": "https://raw.githubusercontent.com/firebase/firebase-tools/master/schema/extension-yaml.json"
82+
}
83+
]
7284
},
7385
"scripts": {
7486
"vscode:prepublish": "npm run build",

0 commit comments

Comments
 (0)