-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
false positiveAn error is reported when one does not existAn error is reported when one does not exist
Description
deadcode has a serious bug: It incorrectly flags any test in package main as unused. It's causing golangci-lint to report a bunch of false positives in my codebase at work. gometalinter.v2 doesn't have this problem and I'm unsure why.
This fix was submitted in December 2017, but it hasn't been reviewed or merged, which tells me that @remyoudompheng isn't really maintaining it.
Until the bug is fixed upstream, it would be nice if golangci-lint either 1) suppressed the false positive internally, 2) provided guidance about how to suppress the false positive in the README, or 3) forked and fixed deadcode.
Metadata
Metadata
Assignees
Labels
false positiveAn error is reported when one does not existAn error is reported when one does not exist