1 Star 0 Fork 0

mamh-mixed/nakabonne-ali

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.golangci.yml 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
nakabonne 提交于 2020-09-12 12:44 . Add golangci.yml
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mamh-mixed/nakabonne-ali.git
git@gitee.com:mamh-mixed/nakabonne-ali.git
mamh-mixed
nakabonne-ali
nakabonne-ali
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385