You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use a single glob or an array of globs.
I've updated the documentation and JSON Schema to reflect this.
Fixes#1207
Signed-off-by: David Thompson <davthomp@redhat.com>
Copy file name to clipboardExpand all lines: package.json
+13-3Lines changed: 13 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -122,10 +122,20 @@
122
122
"type": "object",
123
123
"default": {},
124
124
"additionalProperties": {
125
-
"type": "string",
126
-
"markdownDescription": "- **Key**: The path or URL of the schema to use\n- **Value**: A glob pattern specifying which files the schema should be used on"
125
+
"anyOf": [
126
+
{
127
+
"type": "string"
128
+
},
129
+
{
130
+
"type": "array",
131
+
"items": {
132
+
"type": "string"
133
+
}
134
+
}
135
+
],
136
+
"markdownDescription": "- **Key**: The path or URL of the schema to use\n- **Value**: A glob pattern or list of glob patterns specifying which files the schema should be used on"
127
137
},
128
-
"markdownDescription": "Associate schemas to YAML files in the current workspace. The expected value of this configuration option is a string to string map:\n- **Key**: The path or URL of the schema to use\n- **Value**: A glob pattern specifying which files the schema should be used on"
138
+
"markdownDescription": "Associate schemas to YAML files in the current workspace. The expected value of this configuration option is a string to string map:\n- **Key**: The path or URL of the schema to use\n- **Value**: A glob pattern or list of glob patterns specifying which files the schema should be used on"
0 commit comments