spf13--viper/.golangci.yml

72 lines
1.3 KiB
YAML
Raw Normal View History

2019-12-06 10:41:59 +00:00
linters-settings:
golint:
min-confidence: 0.1
goimports:
local-prefixes: github.com/spf13/viper
linters:
disable-all: true
enable:
- bodyclose
- deadcode
- dogsled
- dupl
- exhaustive
- exportloopref
- goconst
- gofmt
- 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
# fixme
# - errcheck
# - gci
# - gochecknoglobals
# - gochecknoinits
# - gocognit
# - gocritic
# - gocyclo
# - godot
# - gofumpt
# - gosec
# - gosimple
# - lll
# - nlreturn
# - scopelint
2020-01-16 18:37:50 +00:00
# unused
# - depguard
# - goheader
# - gomodguard
# don't enable:
# - asciicheck
# - funlen
# - godox
# - goerr113
# - gomnd
# - interfacer
# - maligned
# - nestif
# - testpackage
# - wsl