-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
DiagnosticFilters is a bit weird.
if you give it numbers, those apply to only bsc diagnostics.
If you give it strings, those apply to a relative srcPath to the actual source files.
you have to use {codes: []} to target string-based diagnostics.
This is a breaking change. I think we should modify the diagnosticFilters accordingly:
- top-level integers and strings should be diagnostic codes which are used to filter the entire project. Internally, they are mapped to
{ codes: []} - we should support specifying the string style of bsc diagnostics (i.e.
"bs1234") in addition to1234...but maybe we should disable the pure integer version entirely since that's not how they're printed...ever - if you want to ignore files, you can specify a
filessection in the object, which follows the same rules as the outer files array.
Here's an example bsconfig with these options applied:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request