代码拉取完成,页面将自动刷新
run:
issues-exit-code: 0
linters:
disable-all: true
enable:
- staticcheck
- gosimple
- ineffassign
- errcheck
- misspell
- unparam
- gofmt
- goimports
- deadcode
- nestif
- govet
- golint
- prealloc
- depguard
- dogsled
- dupl
- goconst
- gocritic
- gocyclo
- goprintffuncname
- gosec
- nakedret
- rowserrcheck
- scopelint
- structcheck
- stylecheck
- typecheck
- unconvert
- varcheck
- exhaustive
- exportloopref
- goerr113
- gofumpt
- unused
run:
tests: false
skip-dirs:
- testdata
issues:
exclude-rules:
- linters:
- gosec
text: "G204: Subprocess launched"
- linters:
- goerr113
text: "err113: do not define dynamic errors"
- linters:
- stylecheck
text: "ST1003: struct field Https"
- linters:
- stylecheck
text: "ST1003: struct field Id"
linters-settings:
dupl:
threshold: 100
funlen:
lines: 100
statements: 50
goconst:
min-len: 2
min-occurrences: 2
goimports:
local-prefixes: github.com/nakabonne/ali
golint:
min-confidence: 0.3
maligned:
suggest-new: true
misspell:
locale: US
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。