Skip to content

Commit

Permalink
Fix/bs config schema allows string diagnostic codes (#416)
Browse files Browse the repository at this point in the history
* Allow string diagnostic codes in bsconfig when specifying diagnostic filters by paths

* Cleaner representation of actual codes types

Co-authored-by: Mark Pearce <[email protected]>
Co-authored-by: Bronley Plumb <[email protected]>
  • Loading branch information
3 people authored May 14, 2021
1 parent c424037 commit 894ace8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsconfig.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
}
]
Expand Down

0 comments on commit 894ace8

Please sign in to comment.