.golangci.yaml (1896B)
1 run: 2 timeout: 5m 3 4 linters-settings: 5 gci: 6 sections: 7 - standard 8 - default 9 - prefix(github.com/spf13/viper) 10 golint: 11 min-confidence: 0 12 goimports: 13 local-prefixes: github.com/spf13/viper 14 15 linters: 16 disable-all: true 17 enable: 18 - bodyclose 19 - dogsled 20 - dupl 21 - durationcheck 22 - exhaustive 23 - exportloopref 24 - gci 25 - gofmt 26 - gofumpt 27 - goimports 28 - gomoddirectives 29 - goprintffuncname 30 - govet 31 - importas 32 - ineffassign 33 - makezero 34 - misspell 35 - nakedret 36 - nilerr 37 - noctx 38 - nolintlint 39 - prealloc 40 - predeclared 41 - revive 42 - rowserrcheck 43 - sqlclosecheck 44 - staticcheck 45 - stylecheck 46 - tparallel 47 - typecheck 48 - unconvert 49 - unparam 50 - unused 51 - wastedassign 52 - whitespace 53 54 # fixme 55 # - cyclop 56 # - errcheck 57 # - errorlint 58 # - exhaustivestruct 59 # - forbidigo 60 # - forcetypeassert 61 # - gochecknoglobals 62 # - gochecknoinits 63 # - gocognit 64 # - goconst 65 # - gocritic 66 # - gocyclo 67 # - godot 68 # - gosec 69 # - gosimple 70 # - ifshort 71 # - lll 72 # - nlreturn 73 # - paralleltest 74 # - scopelint 75 # - thelper 76 # - wrapcheck 77 78 # unused 79 # - depguard 80 # - goheader 81 # - gomodguard 82 83 # deprecated 84 # - deadcode 85 # - structcheck 86 # - varcheck 87 88 # don't enable: 89 # - asciicheck 90 # - funlen 91 # - godox 92 # - goerr113 93 # - gomnd 94 # - interfacer 95 # - maligned 96 # - nestif 97 # - testpackage 98 # - wsl