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
description: nls.localize('contributes.jsonValidation.fileMatch','The file pattern to match, for example "package.json" or "*.launch".'),
29
+
type: ['string','array'],
30
+
description: nls.localize('contributes.jsonValidation.fileMatch','The file pattern (or an array of patterns) to match, for example "package.json" or "*.launch". Exclusion patterns start with \'!\''),
31
+
items: {
32
+
type: ['string']
33
+
}
30
34
},
31
35
url: {
32
36
description: nls.localize('contributes.jsonValidation.url','A schema URL (\'http:\', \'https:\') or relative path to the extension folder (\'./\').'),
@@ -51,12 +55,12 @@ export class JSONValidationExtensionPoint {
51
55
return;
52
56
}
53
57
extensionValue.forEach(extension=>{
54
-
if(typeofextension.fileMatch!=='string'){
55
-
collector.error(nls.localize('invalid.fileMatch',"'configuration.jsonValidation.fileMatch' must be defined"));
0 commit comments