tlog.app/go/tlog@v0.23.1/.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 fieldalignment: 13 suggest-new: true 14 dupl: 15 threshold: 100 16 goconst: 17 min-len: 2 18 min-occurrences: 3 19 gosec: 20 excludes: 21 - G108 22 - G114 23 revive: 24 rules: 25 - name: unused-parameter 26 disabled: true 27 depguard: 28 rules: 29 main: 30 allow: 31 - $gostd 32 - github.com/fsnotify/fsnotify 33 - github.com/getsentry/sentry-go 34 - github.com/gin-gonic/gin 35 - github.com/nikandfor/assert 36 - github.com/nikandfor/hacked 37 - github.com/opentracing/opentracing-go 38 - github.com/prometheus/client_golang 39 - github.com/prometheus/client_model 40 - github.com/stretchr/testify/assert 41 - github.com/stretchr/testify/require 42 - go.opentelemetry.io/otel 43 - golang.org/x 44 - nikand.dev/go/cli 45 - nikand.dev/go/graceful 46 - tlog.app/go/eazy 47 - tlog.app/go/errors 48 - tlog.app/go/loc 49 - tlog.app/go/tlog 50 misspell: 51 lll: 52 line-length: 170 53 goimports: 54 local-prefixes: github.com/nikandfor/tlog 55 prealloc: 56 simple: true 57 for-loops: true 58 gocritic: 59 enabled-tags: 60 - experimental 61 - performance 62 - style 63 disabled-checks: 64 - appendAssign 65 - appendCombine 66 - builtinShadow 67 - commentedOutCode 68 - octalLiteral 69 - unnamedResult 70 - whyNoLint 71 - yodaStyleExpr 72 73 linters: 74 enable-all: true 75 disable: 76 - cyclop 77 - exhaustive 78 - exhaustivestruct 79 - exhaustruct 80 - forcetypeassert 81 - funlen 82 - gci 83 - gochecknoglobals 84 - gochecknoinits 85 - gocognit 86 - goconst 87 - gocyclo 88 - godox 89 - goerr113 90 - golint 91 - gomnd 92 - ifshort 93 - ireturn 94 - lll 95 - maintidx 96 - maligned 97 - nakedret 98 - nestif 99 - nlreturn 100 - nonamedreturns 101 - nosnakecase 102 - paralleltest 103 - prealloc 104 - predeclared 105 - testpackage 106 - thelper 107 - typecheck 108 - unparam 109 - varnamelen 110 - wrapcheck 111 - wsl