scan-cli-plugin/.golangci.yml

33 строки
617 B
YAML

linters:
run:
concurrency: 2
enable-all: false
disable-all: true
enable:
- errcheck
- gocyclo
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- staticcheck
- typecheck
- unconvert
- unparam
- unused
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