2019-09-04 15:53:54 -04:00
|
|
|
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
|
2020-09-01 10:01:23 -04:00
|
|
|
- godox
|
|
|
|
- gocognit
|
|
|
|
- whitespace
|
|
|
|
- wsl
|
|
|
|
- funlen
|
2019-09-04 15:53:54 -04:00
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-rules:
|
|
|
|
- path: bson.go
|
|
|
|
text: "should be .*ObjectID"
|
|
|
|
linters:
|
|
|
|
- golint
|
2020-09-01 10:01:23 -04:00
|
|
|
- stylecheck
|
2019-09-04 15:53:54 -04:00
|
|
|
|