lotus/.golangci.yml
Jakub Sztandera 4df601ea6a Fix imports and range reference warnings
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 17:14:36 +02:00

36 lines
625 B
YAML

linters:
disable-all: true
enable:
- vet
- goimports
- misspell
- goconst
- golint
- errcheck
- gosec
- unconvert
- staticcheck
- varcheck
- structcheck
- deadcode
- scopelint
issues:
exclude:
- "func name will be used as test\\.Test.* by other packages, and that stutters; consider calling this"
- "Potential file inclusion via variable"
exclude-use-default: false
exclude-rules:
- path: node/modules/lp2p
linters:
- golint
- path: ".*_test.go"
linters:
- gosec
linters-settings:
goconst:
min-occurrences: 6