aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/go-openapi/swag/.golangci.yml
blob: 7fae938e64530db003be11626058572f308eae9b (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
linters-settings:
  govet:
    check-shadowing: true
  golint:
    min-confidence: 0
  gocyclo:
    min-complexity: 25
  maligned:
    suggest-new: true
  dupl:
    threshold: 100
  goconst:
    min-len: 3
    min-occurrences: 2

linters:
  enable-all: true
  disable:
    - maligned
    - lll
    - gochecknoinits
    - gochecknoglobals
    - nlreturn
    - testpackage
    - wrapcheck
    - gomnd
    - exhaustive
    - exhaustivestruct
    - goerr113
    - wsl
    - whitespace
    - gofumpt
    - godot
    - nestif
    - godox
    - funlen
    - gci
    - gocognit