2021-05-11 02:21:01 +03:00
|
|
|
run:
|
|
|
|
deadline: 5m
|
|
|
|
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- deadcode
|
|
|
|
- errorlint
|
|
|
|
- goconst
|
|
|
|
- gocyclo
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
|
|
|
- gosec
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- prealloc
|
2021-07-08 22:34:20 +03:00
|
|
|
- revive
|
2021-05-11 02:21:01 +03:00
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- unconvert
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
# Run with --fast=false for more extensive checks
|
|
|
|
fast: true
|