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

linters:
  enable-all: true
  disable:
    - maligned
    - lll
    - gochecknoinits
    - gochecknoglobals

issues:
  exclude-rules:
    - path: bson.go
      text: "should be .*ObjectID"
      linters:
        - golint