From 894ace84d5cdee0eb4ab1ed869d0401adf3df62d Mon Sep 17 00:00:00 2001 From: Mark Pearce Date: Fri, 14 May 2021 00:55:06 -0300 Subject: [PATCH] Fix/bs config schema allows string diagnostic codes (#416) * Allow string diagnostic codes in bsconfig when specifying diagnostic filters by paths * Cleaner representation of actual codes types Co-authored-by: Mark Pearce Co-authored-by: Bronley Plumb --- bsconfig.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsconfig.schema.json b/bsconfig.schema.json index e57651c54..41f659abe 100644 --- a/bsconfig.schema.json +++ b/bsconfig.schema.json @@ -165,7 +165,7 @@ "items": { "anyOf": [ { - "type": "number", + "type": ["number", "string"], "description": "A code of diagnostics that should be filtered out from the files matched in 'src'" } ]