зеркало из https://github.com/docker/hub-tool.git
38 строки
695 B
YAML
38 строки
695 B
YAML
linters:
|
|
run:
|
|
concurrency: 2
|
|
enable-all: false
|
|
disable-all: true
|
|
enable:
|
|
- deadcode
|
|
- errcheck
|
|
- gocyclo
|
|
- gofmt
|
|
- goimports
|
|
- golint
|
|
- gosimple
|
|
- govet
|
|
- ineffassign
|
|
- interfacer
|
|
- lll
|
|
- misspell
|
|
- nakedret
|
|
- staticcheck
|
|
- structcheck
|
|
- typecheck
|
|
- unconvert
|
|
- unparam
|
|
- unused
|
|
- varcheck
|
|
linters-settings:
|
|
gocyclo:
|
|
min-complexity: 16
|
|
lll:
|
|
line-length: 200
|
|
issues:
|
|
# golangci hides some golint warnings (the warning about exported things
|
|
# withtout documentation for example), this will make it show them anyway.
|
|
exclude-use-default: false
|
|
exclude:
|
|
- should not use dot imports
|