2019-01-16 09:41:02 +08:00
|
|
|
linters-settings:
|
|
|
|
gocyclo:
|
|
|
|
# minimal code complexity to report, 30 by default (but we recommend 10-20)
|
2020-02-12 15:55:20 +08:00
|
|
|
min-complexity: 15
|
2019-01-16 09:41:02 +08:00
|
|
|
gocritic:
|
|
|
|
disabled-checks:
|
|
|
|
- ifElseChain
|
|
|
|
|
|
|
|
linters:
|
|
|
|
enable:
|
|
|
|
- megacheck
|
|
|
|
- govet
|
|
|
|
- golint
|
|
|
|
- gocyclo
|
|
|
|
- gosec
|
|
|
|
- unconvert
|
|
|
|
- dupl
|
|
|
|
- nakedret
|
|
|
|
- prealloc
|
|
|
|
- scopelint
|
2020-02-11 08:53:14 +08:00
|
|
|
- gocritic
|