.golangci.yml (732B)
1 linters: 2 enable-all: false 3 disable-all: true 4 fast: false 5 enable: 6 - bodyclose 7 - deadcode 8 - depguard 9 - dogsled 10 - dupl 11 - errcheck 12 - exportloopref 13 - exhaustive 14 - gochecknoinits 15 - goconst 16 - gocritic 17 - gocyclo 18 - gofmt 19 - goimports 20 - goprintffuncname 21 - gosec 22 - gosimple 23 - govet 24 - ineffassign 25 - lll 26 - misspell 27 - nakedret 28 - noctx 29 - nolintlint 30 - rowserrcheck 31 - staticcheck 32 - structcheck 33 - stylecheck 34 - typecheck 35 - unconvert 36 - unparam 37 - unused 38 - varcheck 39 - whitespace 40 - gofumpt 41 42 run: 43 timeout: 3m 44 45 linters-settings: 46 dupl: 47 # tokens count to trigger issue, 150 by default 48 threshold: 200