2020-08-28 01:52:38 +03: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
|
|
|
|
- golint
|
|
|
|
- goprintffuncname
|
|
|
|
- interfacer
|
|
|
|
- lll
|
|
|
|
- maligned
|
|
|
|
- misspell
|
|
|
|
- nolintlint
|
|
|
|
- prealloc
|
|
|
|
- scopelint
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
|
|
|
|
issues:
|
|
|
|
exclude-use-default: true
|
|
|
|
max-issues-per-linter: 0
|
2020-08-28 19:20:54 +03:00
|
|
|
|
|
|
|
linters-settings:
|
|
|
|
gocritic:
|
|
|
|
disabled-checks:
|
|
|
|
- ifElseChain
|
2020-09-01 23:30:06 +03:00
|
|
|
goconst:
|
|
|
|
# minimal length of string constant, 3 by default
|
|
|
|
min-len: 5
|