加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.json 645 Bytes
一键复制 编辑 原始数据 按行查看 历史
Hussein Galal 提交于 2023-08-23 00:09 . Update to v1.28.0-k3s1 (#8199)
{
"linters": {
"disable-all": true,
"enable": [
"govet",
"revive",
"goimports",
"misspell",
"gofmt"
]
},
"run": {
"skip-dirs": [
"build",
"contrib",
"manifests",
"package",
"scripts",
"vendor"
],
"skip-files": [
"/zz_generated_"
],
"deadline": "5m"
},
"issues": {
"exclude-rules": [
{
"linters": "typecheck",
"text": "imported but not used"
},
{
"linters": "typecheck",
"text": "build constraints exclude all Go files"
},
{
"linters": "revive",
"text": "should have comment"
},
{
"linters": "revive",
"text": "exported"
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化