github.com/celestiaorg/celestia-node@v0.15.0-beta.1/.golangci.yml (about) 1 run: 2 timeout: 5m 3 4 linters: 5 enable: 6 - bodyclose 7 # - depguard as of v1.54.2, the default config throws errors on our repo 8 - dogsled 9 - dupl 10 - errcheck 11 # - funlen 12 # - gochecknoglobals 13 # - gochecknoinits 14 - goconst 15 - gocritic 16 # - gocyclo 17 # - godox 18 - gofmt 19 - goimports 20 # - golint - deprecated since v1.41. revive will be used instead 21 - revive 22 - gosec 23 - gosimple 24 - govet 25 - ineffassign 26 # - interfacer 27 - lll 28 - misspell 29 # - maligned 30 - nakedret 31 - prealloc 32 # - scopelint - deprecated since v1.39. exportloopref will be used instead 33 - exportloopref 34 - staticcheck 35 - stylecheck 36 - typecheck 37 - unconvert 38 # - unparam 39 - unused 40 # - whitespace 41 # - wsl 42 # - gocognit 43 - nolintlint 44 - asciicheck 45 46 issues: 47 exclude-rules: 48 - path: _test\.go 49 linters: 50 - gosec 51 - linters: 52 - lll 53 source: "https://" 54 max-same-issues: 50 55 56 linters-settings: 57 dogsled: 58 max-blank-identifiers: 3 59 golint: 60 min-confidence: 0 61 maligned: 62 suggest-new: true 63 misspell: 64 locale: US 65 goimports: 66 local-prefixes: github.com/celestiaorg/celestia-node 67 dupl: 68 threshold: 200