mirror of
https://github.com/spf13/viper
synced 2024-12-22 19:47:01 +00:00
Add golangci config
This commit is contained in:
parent
8feab54f0e
commit
abdeaff171
1 changed files with 32 additions and 0 deletions
32
.golangci.yml
Normal file
32
.golangci.yml
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
linters-settings:
|
||||||
|
golint:
|
||||||
|
min-confidence: 0.1
|
||||||
|
goimports:
|
||||||
|
local-prefixes: github.com/spf13/viper
|
||||||
|
|
||||||
|
linters:
|
||||||
|
enable-all: true
|
||||||
|
disable:
|
||||||
|
- funlen
|
||||||
|
- maligned
|
||||||
|
|
||||||
|
# TODO: fix me
|
||||||
|
- gofmt
|
||||||
|
- goimports
|
||||||
|
- whitespace
|
||||||
|
- deadcode
|
||||||
|
- unused
|
||||||
|
- wsl
|
||||||
|
- golint
|
||||||
|
- stylecheck
|
||||||
|
- gochecknoinits
|
||||||
|
- misspell
|
||||||
|
- gosimple
|
||||||
|
- gochecknoglobals
|
||||||
|
- errcheck
|
||||||
|
- lll
|
||||||
|
- godox
|
||||||
|
- scopelint
|
||||||
|
- gocyclo
|
||||||
|
- gocognit
|
||||||
|
- gocritic
|
Loading…
Reference in a new issue