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
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.
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.
The text was updated successfully, but these errors were encountered:
deadcode
has a serious bug: It incorrectly flags any test inpackage main
as unused. It's causinggolangci-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 fixeddeadcode
.The text was updated successfully, but these errors were encountered: