blob: 44677827571dbf5f24cdc2cc68bb913762c1fb34 [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
- ineffassign
- interfacer
- misspell
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- varcheck
- lll
- prealloc