2020-09-11 15:49:29 +00:00
|
|
|
run:
|
|
|
|
timeout: 5m
|
|
|
|
|
2019-12-06 10:41:59 +00:00
|
|
|
linters-settings:
|
2020-09-11 15:48:38 +00:00
|
|
|
gci:
|
|
|
|
local-prefixes: github.com/spf13/viper
|
2019-12-06 10:41:59 +00:00
|
|
|
golint:
|
2020-09-11 15:48:38 +00:00
|
|
|
min-confidence: 0
|
2019-12-06 10:41:59 +00:00
|
|
|
goimports:
|
|
|
|
local-prefixes: github.com/spf13/viper
|
|
|
|
|
|
|
|
linters:
|
2020-09-11 15:43:32 +00:00
|
|
|
disable-all: true
|
|
|
|
enable:
|
|
|
|
- bodyclose
|
|
|
|
- deadcode
|
|
|
|
- dogsled
|
|
|
|
- dupl
|
|
|
|
- exhaustive
|
|
|
|
- exportloopref
|
2020-09-11 15:48:38 +00:00
|
|
|
- gci
|
2020-09-11 15:43:32 +00:00
|
|
|
- goconst
|
|
|
|
- gofmt
|
2020-09-11 15:48:38 +00:00
|
|
|
- gofumpt
|
2020-09-11 15:43:32 +00:00
|
|
|
- goimports
|
|
|
|
- golint
|
|
|
|
- goprintffuncname
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
|
|
|
- misspell
|
|
|
|
- nakedret
|
|
|
|
- noctx
|
|
|
|
- nolintlint
|
|
|
|
- prealloc
|
|
|
|
- rowserrcheck
|
|
|
|
- sqlclosecheck
|
|
|
|
- staticcheck
|
|
|
|
- structcheck
|
|
|
|
- stylecheck
|
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
|
|
|
- unused
|
|
|
|
- varcheck
|
|
|
|
- whitespace
|
2019-12-06 10:41:59 +00:00
|
|
|
|
2020-09-11 15:43:32 +00:00
|
|
|
# fixme
|
|
|
|
# - errcheck
|
|
|
|
# - gochecknoglobals
|
|
|
|
# - gochecknoinits
|
|
|
|
# - gocognit
|
|
|
|
# - gocritic
|
|
|
|
# - gocyclo
|
|
|
|
# - godot
|
|
|
|
# - gosec
|
|
|
|
# - gosimple
|
|
|
|
# - lll
|
|
|
|
# - nlreturn
|
|
|
|
# - scopelint
|
2020-01-16 18:37:50 +00:00
|
|
|
|
2020-09-11 15:43:32 +00:00
|
|
|
# unused
|
|
|
|
# - depguard
|
|
|
|
# - goheader
|
|
|
|
# - gomodguard
|
|
|
|
|
|
|
|
# don't enable:
|
|
|
|
# - asciicheck
|
|
|
|
# - funlen
|
|
|
|
# - godox
|
|
|
|
# - goerr113
|
|
|
|
# - gomnd
|
|
|
|
# - interfacer
|
|
|
|
# - maligned
|
|
|
|
# - nestif
|
|
|
|
# - testpackage
|
|
|
|
# - wsl
|