summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-openapi/jsonreference/.golangci.yml
blob: 013fc1943a9e37e82b1f1214c6b1dfb0b5b8e89d (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
linters-settings:
  govet:
    check-shadowing: true
  gocyclo:
    min-complexity: 30
  maligned:
    suggest-new: true
  dupl:
    threshold: 100
  goconst:
    min-len: 2
    min-occurrences: 4
  paralleltest:
    ignore-missing: true
linters:
  enable-all: true
  disable:
    - maligned
    - lll
    - gochecknoglobals
    - godox
    - gocognit
    - whitespace
    - wsl
    - funlen
    - gochecknoglobals
    - gochecknoinits
    - scopelint
    - wrapcheck
    - exhaustivestruct
    - exhaustive
    - nlreturn
    - testpackage
    - gci
    - gofumpt
    - goerr113
    - gomnd
    - tparallel
    - nestif
    - godot
    - errorlint
    - varcheck
    - interfacer
    - deadcode
    - golint
    - ifshort
    - structcheck
    - nosnakecase
    - varnamelen
    - exhaustruct