835b36cb63
Signed-off-by: Casey Lee <cplee@nektos.com>
21 lines
339 B
YAML
21 lines
339 B
YAML
linters-settings:
|
|
gocyclo:
|
|
# minimal code complexity to report, 30 by default (but we recommend 10-20)
|
|
min-complexity: 12
|
|
gocritic:
|
|
disabled-checks:
|
|
- ifElseChain
|
|
|
|
linters:
|
|
enable:
|
|
- megacheck
|
|
- govet
|
|
- golint
|
|
- gocyclo
|
|
- gosec
|
|
- unconvert
|
|
- dupl
|
|
- nakedret
|
|
- prealloc
|
|
- scopelint
|
|
- gocritic
|