2019-09-05 03:53:54 +08:00
|
|
|
linters-settings:
|
|
|
|
govet:
|
|
|
|
check-shadowing: true
|
|
|
|
golint:
|
|
|
|
min-confidence: 0
|
|
|
|
gocyclo:
|
2020-09-01 22:01:23 +08:00
|
|
|
min-complexity: 50
|
2019-09-05 03:53:54 +08:00
|
|
|
maligned:
|
|
|
|
suggest-new: true
|
|
|
|
dupl:
|
|
|
|
threshold: 100
|
|
|
|
goconst:
|
|
|
|
min-len: 2
|
2020-09-01 22:01:23 +08:00
|
|
|
min-occurrences: 3
|
2019-09-05 03:53:54 +08:00
|
|
|
|
|
|
|
linters:
|
|
|
|
enable-all: true
|
|
|
|
disable:
|
|
|
|
- maligned
|
|
|
|
- lll
|
2020-09-01 22:01:23 +08:00
|
|
|
- godox
|
|
|
|
- gocognit
|
|
|
|
- whitespace
|
|
|
|
- wsl
|
|
|
|
- funlen
|
|
|
|
- gochecknoglobals
|
|
|
|
- gochecknoinits
|
|
|
|
- scopelint
|