laconicd/.golangci.yml
Austin Abell 51adade59f
Update golangci-lint config and fix linting issues (#168)
* update golangci

* update golang lint yml and updated linting issues
2020-01-08 09:56:49 +13:00

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