Ai
1 Star 0 Fork 0

WillsPus/mysql-operator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.yaml 1003 Bytes
一键复制 编辑 原始数据 按行查看 历史
amecea 提交于 2020-06-04 22:34 +08:00 . Disable gocognit linter and close http connection
linters-settings:
dupl:
threshold: 400
gocyclo:
min-complexity: 10
govet:
check-shadowing: true
lll:
line-length: 170
tab-width: 4
gofmt:
simplify: false
run:
tests: false
skip-dirs:
- vendor
skip-files:
- zz_generated.*.go
linters:
presets:
- bugs
- unused
- format
- style
- complexity
- performance
# we should re-enable them and make lint pass
disable:
- goimports
- maligned
- gochecknoglobals
# TODO: fix those linters
- whitespace
- scopelint
- wsl
- gochecknoinits
- godox
- funlen
- stylecheck
- gocritic
- gomnd
- gocognit
issues:
max-same-issues: 0
exclude-use-default: false
exclude:
# gosec G104, about unhandled errors. We do that with errcheck already
- "G104: Errors unhandled"
exclude-rules:
- linters:
# Ignore package comments (ST1000) since most of the time are irrelevant
- stylecheck
text: "ST1000"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/GetLab/mysql-operator.git
git@gitee.com:GetLab/mysql-operator.git
GetLab
mysql-operator
mysql-operator
master

搜索帮助