2020-08-27 18:52:38 -04:00
|
|
|
linters:
|
|
|
|
fast: false
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- deadcode
|
|
|
|
- errcheck
|
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- typecheck
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- dupl
|
|
|
|
- exhaustive
|
|
|
|
- exportloopref
|
|
|
|
- gocritic
|
|
|
|
- goerr113
|
|
|
|
- gofmt
|
|
|
|
- goimports
|
2021-12-01 11:18:20 -05:00
|
|
|
- revive
|
2020-08-27 18:52:38 -04:00
|
|
|
- goprintffuncname
|
|
|
|
- lll
|
|
|
|
- misspell
|
|
|
|
- nolintlint
|
|
|
|
- prealloc
|
2021-12-01 11:18:20 -05:00
|
|
|
- exportloopref
|
2020-08-27 18:52:38 -04:00
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-use-default: true
|
|
|
|
max-issues-per-linter: 0
|
2020-08-28 12:20:54 -04:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gocritic:
|
|
|
|
disabled-checks:
|
|
|
|
- ifElseChain
|
2020-09-01 16:30:06 -04:00
|
|
|
goconst:
|
|
|
|
# minimal length of string constant, 3 by default
|
|
|
|
min-len: 5
|