1linters-settings: 2 govet: 3 check-shadowing: true 4 golint: 5 min-confidence: 0 6 gocyclo: 7 min-complexity: 31 8 maligned: 9 suggest-new: true 10 dupl: 11 threshold: 100 12 goconst: 13 min-len: 2 14 min-occurrences: 4 15 16linters: 17 enable-all: true 18 disable: 19 - maligned 20 - lll 21 - gochecknoinits 22 - gochecknoglobals 23 - godox 24 - gocognit 25 - whitespace 26 - wsl 27 - funlen 28 29issues: 30 exclude-rules: 31 - path: bson.go 32 text: "should be .*ObjectID" 33 linters: 34 - golint 35 - stylecheck 36 37