summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 4d5ff549c..b3466d8f9 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -11,20 +11,32 @@ run:
- pkg/varlink
- pkg/varlinkapi
- docs/varlink
+ - vendor
skip-files:
- iopodman.go
- swagger.go
+ modules-download-mode: readonly
linters:
enable-all: true
disable:
+ # All these break for one reason or another
- dupl
- funlen
- gochecknoglobals
- gochecknoinits
- goconst
- gocyclo
- - gosec
+ - golint
- lll
+ - structcheck
+ - typecheck
+ - unconvert
+ - varcheck
+ - deadcode
+ - depguard
+ - errcheck
+ - gocritic
+ - gosec
- maligned
linters-settings:
errcheck: