matterbridge/vendor/github.com/spf13/viper/.golangci.yaml

99 lines
1.9 KiB
YAML
Raw Normal View History

2021-06-16 12:00:49 -07:00
run:
timeout: 5m
2020-01-09 12:02:56 -08:00
linters-settings:
2021-06-16 12:00:49 -07:00
gci:
2022-04-25 14:50:10 -07:00
sections:
- standard
- default
- prefix(github.com/spf13/viper)
2020-01-09 12:02:56 -08:00
golint:
2021-06-16 12:00:49 -07:00
min-confidence: 0
2020-01-09 12:02:56 -08:00
goimports:
local-prefixes: github.com/spf13/viper
linters:
2021-06-16 12:00:49 -07:00
disable-all: true
enable:
- bodyclose
- dogsled
- dupl
- durationcheck
- exhaustive
- exportloopref
- gci
- gofmt
- gofumpt
- goimports
- gomoddirectives
- goprintffuncname
- govet
- importas
- ineffassign
- makezero
- misspell
- nakedret
- nilerr
- noctx
- nolintlint
- prealloc
- predeclared
- revive
- rowserrcheck
- sqlclosecheck
- staticcheck
- stylecheck
- tparallel
- typecheck
- unconvert
- unparam
- unused
- wastedassign
- whitespace
# fixme
# - cyclop
# - errcheck
# - errorlint
# - exhaustivestruct
# - forbidigo
# - forcetypeassert
# - gochecknoglobals
# - gochecknoinits
# - gocognit
# - goconst
2021-06-16 12:00:49 -07:00
# - gocritic
# - gocyclo
# - godot
# - gosec
# - gosimple
# - ifshort
# - lll
# - nlreturn
# - paralleltest
# - scopelint
# - thelper
# - wrapcheck
2020-01-09 12:02:56 -08:00
2021-06-16 12:00:49 -07:00
# unused
# - depguard
# - goheader
# - gomodguard
2020-05-23 15:06:21 -07:00
# deprecated
# - deadcode
# - structcheck
# - varcheck
2021-06-16 12:00:49 -07:00
# don't enable:
# - asciicheck
# - funlen
# - godox
# - goerr113
# - gomnd
# - interfacer
# - maligned
# - nestif
# - testpackage
# - wsl