tlog.app/go/errors@v0.9.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: 30 10 cyclop: 11 max-complexity: 30 12 maligned: 13 suggest-new: true 14 dupl: 15 threshold: 100 16 goconst: 17 min-len: 2 18 min-occurrences: 3 19 testifylint: 20 disable: 21 - require-error 22 depguard: 23 rules: 24 main: 25 allow: 26 - $gostd 27 - github.com/beorn7/perks/quantile 28 - github.com/getsentry/sentry-go 29 - github.com/gin-gonic/gin 30 - github.com/nikandfor/cli 31 - github.com/nikandfor/quantile 32 - github.com/opentracing/opentracing-go 33 - github.com/prometheus/client_golang 34 - github.com/prometheus/client_model 35 - github.com/stretchr/testify 36 - go.opentelemetry.io/otel 37 - golang.org/x 38 - gopkg.in/fsnotify.v1 39 - tlog.app/go/errors 40 - tlog.app/go/loc 41 - tlog.app/go/tlog 42 misspell: 43 lll: 44 line-length: 170 45 goimports: 46 local-prefixes: github.com/nikandfor/tlog 47 prealloc: 48 simple: true 49 for-loops: true 50 gocritic: 51 enabled-tags: 52 - experimental 53 - performance 54 - style 55 disabled-checks: 56 - appendAssign 57 - builtinShadow 58 - commentedOutCode 59 - octalLiteral 60 - sloppyTestFuncName 61 - unnamedResult 62 - whyNoLint 63 - yodaStyleExpr 64 65 linters: 66 enable-all: true 67 disable: 68 - exhaustive 69 - exhaustivestruct 70 - exhaustruct 71 - forcetypeassert 72 - funlen 73 - gci 74 - gochecknoglobals 75 - gochecknoinits 76 - godox 77 - goerr113 78 - golint 79 - gomnd 80 - nakedret 81 - nlreturn 82 - nonamedreturns 83 - paralleltest 84 - prealloc 85 - testifylint # nice linter, but doesn't follow settings 86 - testpackage 87 - thelper 88 - unparam 89 - varnamelen 90 - wsl