mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Activate lint for unused code.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user