summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-openapi/swag/.golangci.yml
blob: bf503e4000164651b08610acfa79d5671938b117 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
    - paralleltest
    - thelper
    - ifshort
    - gomoddirectives
    - cyclop
    - forcetypeassert
    - ireturn
    - tagliatelle
    - varnamelen
    - goimports
    - tenv
    - golint
    - exhaustruct
    - nilnil
    - nonamedreturns
    - nosnakecase