51adade59f
* update golangci * update golang lint yml and updated linting issues
42 lines
657 B
YAML
42 lines
657 B
YAML
# This file configures github.com/golangci/golangci-lint.
|
|
|
|
run:
|
|
timeout: 2m
|
|
tests: true
|
|
skip-dirs-use-default: true
|
|
|
|
linters:
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- depguard
|
|
- dogsled
|
|
- errcheck
|
|
- goconst
|
|
- gocyclo
|
|
- gofmt
|
|
- goimports
|
|
- golint
|
|
- gosec
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- interfacer
|
|
- misspell
|
|
- scopelint
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unused
|
|
- varcheck
|
|
|
|
issues:
|
|
exclude-rules:
|
|
- text: "comment on exported var"
|
|
linters:
|
|
- golint
|
|
- text: "ST1005:"
|
|
linters:
|
|
- stylecheck |