kisielk / errcheck

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

-ignoretests but only for -asserts #244

Open mattysweeps opened 7 months ago

mattysweeps commented 7 months ago

I'd like to enable -asserts in my config, but only for production code and not _test.go files.

It would be great if -ignoretests had an optional string list value which could specify exactly which tests are ignored in test.