github.com/morysky/viper@v1.8.0/.golangci.yml (about) 1 run: 2 timeout: 5m 3 4 linters-settings: 5 gci: 6 local-prefixes: github.com/morysky/viper 7 golint: 8 min-confidence: 0 9 goimports: 10 local-prefixes: github.com/morysky/viper 11 12 linters: 13 disable-all: true 14 enable: 15 - bodyclose 16 - deadcode 17 - dogsled 18 - dupl 19 - exhaustive 20 - exportloopref 21 - gci 22 - goconst 23 - gofmt 24 - gofumpt 25 - goimports 26 - golint 27 - goprintffuncname 28 - govet 29 - ineffassign 30 - misspell 31 - nakedret 32 - noctx 33 - nolintlint 34 - prealloc 35 - rowserrcheck 36 - sqlclosecheck 37 - staticcheck 38 - structcheck 39 - stylecheck 40 - typecheck 41 - unconvert 42 - unparam 43 - unused 44 - varcheck 45 - whitespace 46 47 # fixme 48 # - errcheck 49 # - gochecknoglobals 50 # - gochecknoinits 51 # - gocognit 52 # - gocritic 53 # - gocyclo 54 # - godot 55 # - gosec 56 # - gosimple 57 # - lll 58 # - nlreturn 59 # - scopelint 60 61 # unused 62 # - depguard 63 # - goheader 64 # - gomodguard 65 66 # don't enable: 67 # - asciicheck 68 # - funlen 69 # - godox 70 # - goerr113 71 # - gomnd 72 # - interfacer 73 # - maligned 74 # - nestif 75 # - testpackage 76 # - wsl