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
Where an option was added for linters (very useful BTW)
There is a new option linters.exclusions.warn-unused that emits a warning if a linters.exclusions.rules or linters.exclusions.paths is unused.
I would like to get the same things for formatters
Thanks
Describe the solution you'd like
I would like to be able to report unused formatters exclusions via formatters.exclusions.warn-unused that emits a warning if a formatters.exclusions.rules or formatters.exclusions.paths is unused.
Thanks
Describe alternatives you've considered
checking code and PR about this setting
but I found nothing in :
the jsonschema reference
code
issues/PR
Additional context
I'm looking for a having a way to check if exclusion imported from migrate have a need.
Hello, the way to handle exclusions inside formatters is completely different from inside linters, it's not really possible to detect unused exclusion paths.
Welcome
How did you install golangci-lint?
Brew
Your feature request related to a problem? Please describe
Following #5339
Where an option was added for linters (very useful BTW)
I would like to get the same things for formatters
Thanks
Describe the solution you'd like
I would like to be able to report unused formatters exclusions via
formatters.exclusions.warn-unused
that emits a warning if aformatters.exclusions.rules
orformatters.exclusions.paths
is unused.Thanks
Describe alternatives you've considered
checking code and PR about this setting
but I found nothing in :
Additional context
I'm looking for a having a way to check if exclusion imported from
migrate
have a need.Supporter
The text was updated successfully, but these errors were encountered: