mirror of
https://github.com/spf13/cobra
synced 2024-11-14 01:37:10 +00:00
49 lines
720 B
YAML
49 lines
720 B
YAML
|
run:
|
||
|
deadline: 5m
|
||
|
|
||
|
linters:
|
||
|
disable-all: true
|
||
|
enable:
|
||
|
#- bodyclose
|
||
|
- deadcode
|
||
|
#- depguard
|
||
|
#- dogsled
|
||
|
#- dupl
|
||
|
- errcheck
|
||
|
#- exhaustive
|
||
|
#- funlen
|
||
|
- gas
|
||
|
#- gochecknoinits
|
||
|
- goconst
|
||
|
#- gocritic
|
||
|
#- gocyclo
|
||
|
#- gofmt
|
||
|
- goimports
|
||
|
- golint
|
||
|
#- gomnd
|
||
|
#- goprintffuncname
|
||
|
#- gosec
|
||
|
#- gosimple
|
||
|
- govet
|
||
|
- ineffassign
|
||
|
- interfacer
|
||
|
#- lll
|
||
|
- maligned
|
||
|
- megacheck
|
||
|
#- misspell
|
||
|
#- nakedret
|
||
|
#- noctx
|
||
|
#- nolintlint
|
||
|
#- rowserrcheck
|
||
|
#- scopelint
|
||
|
#- staticcheck
|
||
|
- structcheck
|
||
|
#- stylecheck
|
||
|
#- typecheck
|
||
|
- unconvert
|
||
|
#- unparam
|
||
|
#- unused
|
||
|
- varcheck
|
||
|
#- whitespace
|
||
|
fast: false
|