kisielk / errcheck

errcheck checks that you checked errors.
MIT License
2.36k stars 137 forks source link

analyzer: set diagnostics category #228

Closed rjarry closed 1 year ago

rjarry commented 1 year ago

This allows wrapping errcheck.Analyzer with nolint.Wrap to silence diagnostics with //nolint:errcheck comments.

Link: https://github.com/kyoh86/nolint