代码拉取完成,页面将自动刷新
linters-settings:
goconst:
min-len: 2
min-occurrences: 2
gocritic:
enabled-tags:
- diagnostic
- experimental
- opinionated
- performance
- style
disabled-checks:
gocyclo:
min-complexity: 20
golint:
min-confidence: 0
govet:
check-shadowing: false
maligned:
suggest-new: true
misspell:
locale: US
linters:
disable-all: true
enable:
- bodyclose
- depguard
# - dogsled
- errcheck
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
# - golint
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
# - interfacer
- misspell
- nakedret
- rowserrcheck
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- varcheck
- whitespace
- maligned
run:
skip-dirs:
- rts
issues:
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
- path: _test\.go
linters:
- golint
- staticcheck
- scopelint
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。