Activate lint for unused code.

This commit is contained in:
Jeffrey Regan
2019-11-18 06:25:50 -08:00
parent 5381daf95a
commit 83db25d6c4
8 changed files with 20 additions and 20 deletions

View File

@@ -23,10 +23,12 @@ linters:
- nakedret
- staticcheck
- structcheck
# - stylecheck (panics)
# stylecheck demands that acronyms not be treated as words
# in camelCase, so JsonOp become JSONOp, etc. Yuck.
# - stylecheck
# - typecheck (fails in lots of places)
- unconvert
# - unused (panics)
- unused
- unparam
- varcheck