tlog.app/go/loc@v0.6.2-0.20231112073106-b6382a0ac518/.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 depguard: 20 rules: 21 main: 22 allow: 23 - $gostd 24 - github.com/beorn7/perks/quantile 25 - github.com/getsentry/sentry-go 26 - github.com/gin-gonic/gin 27 - github.com/nikandfor/cli 28 - github.com/nikandfor/errors 29 - github.com/nikandfor/goid 30 - github.com/nikandfor/loc 31 - github.com/nikandfor/quantile 32 - github.com/nikandfor/tlog 33 - github.com/opentracing/opentracing-go 34 - github.com/prometheus/client_golang 35 - github.com/prometheus/client_model 36 - github.com/stretchr/testify 37 - go.opentelemetry.io/otel 38 - golang.org/x 39 - gopkg.in/fsnotify.v1 40 misspell: 41 lll: 42 line-length: 170 43 goimports: 44 local-prefixes: github.com/nikandfor/tlog 45 prealloc: 46 simple: true 47 for-loops: true 48 gocritic: 49 enabled-tags: 50 - experimental 51 - performance 52 - style 53 disabled-checks: 54 - appendAssign 55 - builtinShadow 56 - commentedOutCode 57 - octalLiteral 58 - sloppyTestFuncName 59 - unnamedResult 60 - whyNoLint 61 - yodaStyleExpr 62 63 linters: 64 enable-all: true 65 disable: 66 - exhaustive 67 - exhaustivestruct 68 - exhaustruct 69 - forcetypeassert 70 - funlen 71 - gci 72 - gochecknoglobals 73 - gochecknoinits 74 - godox 75 - goerr113 76 - golint 77 - gomnd 78 - nakedret 79 - nlreturn 80 - nonamedreturns 81 - paralleltest 82 - prealloc 83 - testpackage 84 - thelper 85 - unparam 86 - varnamelen 87 - wsl