github.com/nikandfor/errors@v0.8.0/.golangci.yml (about) 1 run: 2 #modules-download-mode: readonly 3 linters-settings: 4 govet: 5 check-shadowing: false 6 golint: 7 min-confidence: 0 8 gocognit: 9 min-complexity: 20 10 maligned: 11 suggest-new: true 12 dupl: 13 threshold: 100 14 goconst: 15 min-len: 2 16 min-occurrences: 3 17 depguard: 18 list-type: whitelist 19 packages: 20 - github.com/stretchr/testify/assert 21 - github.com/nikandfor/tlog 22 - github.com/pkg/errors 23 misspell: 24 lll: 25 line-length: 170 26 goimports: 27 local-prefixes: github.com/nikandfor/errors 28 prealloc: 29 simple: true 30 for-loops: true 31 gocritic: 32 enabled-tags: 33 - experimental 34 - performance 35 - style 36 disabled-checks: 37 - appendAssign 38 - builtinShadow 39 - commentedOutCode 40 - unnamedResult 41 - whyNoLint 42 - yodaStyleExpr 43 44 linters: 45 enable-all: true 46 disable: 47 - gochecknoglobals 48 - gochecknoinits 49 - gomnd 50 - nakedret 51 - nlreturn 52 - testpackage 53 - unparam 54 - wsl