micro-server-tcp/.golangci.yml
Vasiliy Tolstov 53bd5373d4 lint
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-26 01:07:20 +03:00

45 lines
620 B
YAML

run:
concurrency: 4
deadline: 5m
issues-exit-code: 1
tests: true
linters-settings:
govet:
check-shadowing: true
enable:
- fieldalignment
linters:
enable:
- govet
- deadcode
- errcheck
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- bodyclose
- gci
- goconst
- gocritic
- gosimple
- gofmt
- gofumpt
- goimports
- golint
- gosec
- makezero
- misspell
- nakedret
- nestif
- nilerr
- noctx
- prealloc
- unconvert
- unparam
disable-all: false