2020-11-19 00:23:33 -08:00
|
|
|
run:
|
2022-09-02 07:31:59 -07:00
|
|
|
timeout: 10m
|
2021-06-08 11:16:55 -07:00
|
|
|
allow-parallel-runners: true
|
2020-11-12 00:43:32 -08:00
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- bodyclose
|
|
|
|
- deadcode
|
|
|
|
- depguard
|
|
|
|
- dupl
|
|
|
|
- errcheck
|
|
|
|
- exhaustive
|
|
|
|
- gochecknoinits
|
|
|
|
- goconst
|
|
|
|
- gocritic
|
|
|
|
- gocyclo
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
2021-05-21 11:01:08 -07:00
|
|
|
- revive
|
2020-11-12 00:43:32 -08:00
|
|
|
- goprintffuncname
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- noctx
|
|
|
|
- nolintlint
|
|
|
|
- rowserrcheck
|
2021-03-27 09:10:35 -07:00
|
|
|
- exportloopref
|
2020-11-12 00:43:32 -08:00
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- whitespace
|
|
|
|
- lll
|
|
|
|
linters-settings:
|
|
|
|
gocritic:
|
|
|
|
enabled-tags:
|
|
|
|
- diagnostic
|
|
|
|
- experimental
|
|
|
|
- opinionated
|
|
|
|
- performance
|
|
|
|
- style
|
|
|
|
disabled-tags:
|
|
|
|
- experimental
|
|
|
|
disabled-checks:
|
|
|
|
- ifElseChain
|
|
|
|
lll:
|
|
|
|
line-length: 180
|