blob: e87841bc1a90c4cb933f791ae6430d260b6b514e [file] [log] [blame]
# Make sure golangci-lint is installed.
# https://github.com/golangci/golangci-lint#install
# We can execute `golangci-lint run` for code checking.
run:
deadline: 6m
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- goimports
- golint
- gosimple
- govet
- interfacer
- misspell
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- lll
- prealloc