summaryrefslogtreecommitdiff
path: root/vendor/github.com/fsouza/go-dockerclient/.golangci.yaml
blob: 77967b70b4297c8513db38b23ba4bb0d31681047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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