-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lint: enable deadcode and varcheck #318
Conversation
Codecov Report
@@ Coverage Diff @@
## master #318 +/- ##
=======================================
Coverage 55.72% 55.72%
=======================================
Files 19 19
Lines 926 926
=======================================
Hits 516 516
Misses 358 358
Partials 52 52 Continue to review full report at Codecov.
|
Feel free to say tests:true if it doesn’t hurt. I definitely want to make sure the linters work on tests. Also what do either of these linters do? Can you briefly explain? |
https://golangci.com/product#linters says
More info here: https://github.com/remyoudompheng/go-misc/tree/master/deadcode |
So I just checked, and also |
Yeah it's not ideal, but it's better than untested/unrefereced methods laying around I guess. |
True, true. So let's get this merged then |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: corneliusweig, ferhatelmas The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
related to #292
didn't enable
tests: true
since they are included by default