mirror of
https://github.com/spf13/viper
synced 2024-12-23 12:07:02 +00:00
d9d7dcdc63
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
76 lines
1.4 KiB
YAML
76 lines
1.4 KiB
YAML
run:
|
|
timeout: 5m
|
|
|
|
linters-settings:
|
|
gci:
|
|
local-prefixes: github.com/spf13/viper
|
|
golint:
|
|
min-confidence: 0
|
|
goimports:
|
|
local-prefixes: github.com/spf13/viper
|
|
|
|
linters:
|
|
disable-all: true
|
|
enable:
|
|
- bodyclose
|
|
- deadcode
|
|
- dogsled
|
|
- dupl
|
|
- exhaustive
|
|
- exportloopref
|
|
- gci
|
|
- goconst
|
|
- gofmt
|
|
- gofumpt
|
|
- goimports
|
|
- golint
|
|
- goprintffuncname
|
|
- govet
|
|
- ineffassign
|
|
- misspell
|
|
- nakedret
|
|
- noctx
|
|
- nolintlint
|
|
- prealloc
|
|
- rowserrcheck
|
|
- sqlclosecheck
|
|
- staticcheck
|
|
- structcheck
|
|
- stylecheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
- whitespace
|
|
|
|
# fixme
|
|
# - errcheck
|
|
# - gochecknoglobals
|
|
# - gochecknoinits
|
|
# - gocognit
|
|
# - gocritic
|
|
# - gocyclo
|
|
# - godot
|
|
# - gosec
|
|
# - gosimple
|
|
# - lll
|
|
# - nlreturn
|
|
# - scopelint
|
|
|
|
# unused
|
|
# - depguard
|
|
# - goheader
|
|
# - gomodguard
|
|
|
|
# don't enable:
|
|
# - asciicheck
|
|
# - funlen
|
|
# - godox
|
|
# - goerr113
|
|
# - gomnd
|
|
# - interfacer
|
|
# - maligned
|
|
# - nestif
|
|
# - testpackage
|
|
# - wsl
|