1 Star 1 Fork 0

水瓶子/istio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lintconfig_base.json 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
{
"concurrency": 4,
"enableGC": true,
"vendor": true,
"vendoredLinters": true,
"deadline": "600s",
"minConfidence": 0.0,
"lineLength": 160,
"test": true,
"sort": ["path"],
"enable": [
"deadcode",
"errcheck",
"goconst",
"golint",
"ineffassign",
"interfacer",
"lll",
"maligned",
"megacheck",
"misspell",
"structcheck",
"unconvert",
"varcheck",
"vet",
"vetshadow"
],
"severity": {
"deadcode": "error",
"errcheck": "error",
"goconst": "error",
"golint": "error",
"ineffassign": "error",
"interfacer": "error",
"lll": "error",
"maligned": "error",
"megacheck": "error",
"misspell": "error",
"structcheck": "error",
"unconvert": "error",
"varcheck": "error",
"vet": "error",
"vetshadow": "error"
},
"skip": [
"mixer/tools/adapterlinter/testdata"
],
"exclude": [
".pb.go",
"mock_*",
"mixer/adapter/doc.go",
".*.gen.go",
".*.gen_test.go",
"mixer/template/doc.go",
"mixer/template/sample/.*.go",
"mixer/test/spyAdapter/template/doc.go",
"mixer/template/doc.go",
"pilot/tools/.*.go",
"_test\\.go:.*\\bdefer .*\\(errcheck\\)$",
"should have a package comment",
"composite literal uses unkeyed fields",
"genfiles",
"vendor"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhbf0214/istio.git
git@gitee.com:zhbf0214/istio.git
zhbf0214
istio
istio
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385