2019-12-03 16:23:09 +03:00
|
|
|
run:
|
2021-04-27 08:32:47 +03:00
|
|
|
concurrency: 4
|
2020-08-19 16:11:03 +03:00
|
|
|
deadline: 5m
|
2021-04-27 08:32:47 +03:00
|
|
|
issues-exit-code: 1
|
|
|
|
tests: true
|
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
govet:
|
|
|
|
check-shadowing: true
|
|
|
|
enable:
|
|
|
|
- fieldalignment
|
|
|
|
|
2019-12-03 16:23:09 +03:00
|
|
|
linters:
|
|
|
|
enable:
|
2021-04-27 08:32:47 +03:00
|
|
|
- govet
|
2019-12-03 16:23:09 +03:00
|
|
|
- deadcode
|
2021-04-27 08:32:47 +03:00
|
|
|
- errcheck
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- typecheck
|
2019-12-03 16:23:09 +03:00
|
|
|
- unused
|
2021-04-27 08:32:47 +03:00
|
|
|
- varcheck
|
|
|
|
- bodyclose
|
|
|
|
- gci
|
|
|
|
- goconst
|
2019-12-03 16:23:09 +03:00
|
|
|
- gocritic
|
2021-04-27 08:32:47 +03:00
|
|
|
- gosimple
|
|
|
|
- gofmt
|
|
|
|
- gofumpt
|
2019-12-03 16:23:09 +03:00
|
|
|
- goimports
|
2021-09-29 13:19:07 +03:00
|
|
|
- revive
|
2019-12-03 16:23:09 +03:00
|
|
|
- gosec
|
2021-04-27 08:32:47 +03:00
|
|
|
- makezero
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- nestif
|
|
|
|
- nilerr
|
|
|
|
- noctx
|
|
|
|
- prealloc
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
disable-all: false
|