github.com/core-coin/go-core/v2@v2.1.9/.golangci.yml (about) 1 # This file configures github.com/golangci/golangci-lint. 2 3 run: 4 timeout: 3m 5 tests: true 6 # default is true. Enables skipping of directories: 7 # vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ 8 skip-dirs-use-default: true 9 skip-files: 10 - core/genesis_alloc.go 11 12 linters: 13 disable-all: true 14 enable: 15 - deadcode 16 - goconst 17 - goimports 18 - gosimple 19 - govet 20 - ineffassign 21 - misspell 22 # - staticcheck 23 - unconvert 24 # - unused 25 - varcheck 26 27 linters-settings: 28 gofmt: 29 simplify: true 30 goconst: 31 min-len: 3 # minimum length of string constant 32 min-occurrences: 6 # minimum number of occurrences 33 34 issues: 35 exclude-rules: 36 - path: crypto/blake2b/ 37 linters: 38 - deadcode 39 - path: crypto/bn256/cloudflare 40 linters: 41 - deadcode 42 - path: p2p/discv5/ 43 linters: 44 - deadcode 45 - path: core/vm/instructions_test.go 46 linters: 47 - goconst 48 - path: cmd/faucet/ 49 linters: 50 - deadcode