summaryrefslogtreecommitdiff
path: root/.golangci.yml
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-10-05 08:42:15 -0500
committerGitHub <noreply@github.com>2020-10-05 08:42:15 -0500
commitcaace52d54c846c948c88a62f973f4d11808532e (patch)
tree41ef903d08193a4f6ff0edba9727f54a1e0583d5 /.golangci.yml
parent436dda23852a367807d86e98b7a59f09a82c1802 (diff)
parent2c9084e2245834094e14e9105e64b6062d70a0f1 (diff)
downloadpodman-caace52d54c846c948c88a62f973f4d11808532e.tar.gz
podman-caace52d54c846c948c88a62f973f4d11808532e.tar.bz2
podman-caace52d54c846c948c88a62f973f4d11808532e.zip
Merge pull request #6784 from cevich/new_ci_cd
Cirrus: Make efficient and performant
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: