summaryrefslogtreecommitdiff
path: root/vendor/github.com/fsouza/go-dockerclient/.golangci.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/.golangci.yaml')
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/.golangci.yaml38
1 files changed, 4 insertions, 34 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/.golangci.yaml b/vendor/github.com/fsouza/go-dockerclient/.golangci.yaml
index 77967b70b..63415ffff 100644
--- a/vendor/github.com/fsouza/go-dockerclient/.golangci.yaml
+++ b/vendor/github.com/fsouza/go-dockerclient/.golangci.yaml
@@ -1,38 +1,8 @@
run:
deadline: 5m
- skip-dirs:
- - internal
-
-issues:
- exclude-rules:
- - path: _test\.go
- linters:
- - bodyclose
- - goconst
- - gosec
- - scopelint
- - path: testing[/\\].+\.go
- linters:
- - gosec
- - noctx
-
linters:
- enable-all: true
- disable:
- - dupl
- - errcheck
- - funlen
- - gochecknoglobals
- - gocognit
- - goconst
- - gocritic
- - godot
- - goerr113
- - gofumpt
- - gomnd
- - lll
- - nestif
- - nlreturn
- - testpackage
- - wsl
+ disable-all: true
+ enable:
+ - gofmt
+ - goimports