github.com/Rikkuru/golangci-lint@v1.10.1/.golangci.yml (about) 1 linters-settings: 2 govet: 3 check-shadowing: true 4 golint: 5 min-confidence: 0 6 gocyclo: 7 min-complexity: 10 8 maligned: 9 suggest-new: true 10 dupl: 11 threshold: 100 12 goconst: 13 min-len: 2 14 min-occurrences: 2 15 depguard: 16 list-type: blacklist 17 packages: 18 # logging is allowed only by logutils.Log, logrus 19 # is allowed to use only in logutils package 20 - github.com/sirupsen/logrus 21 misspell: 22 locale: US 23 24 linters: 25 enable-all: true 26 disable: 27 - maligned 28 - prealloc