2 Star 2 Fork 1

rancher/fleet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.json 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
Mario Manno 提交于 2022-11-08 18:14 +08:00 . Remove outdated linters
{
"run": {
"deadline": "20s",
"skip-files": [
"/zz_generated_"
]
},
"linters-settings": {
"revive": {
"rules": [
{
"name": "blank-imports",
"severity": "warning"
},
{
"name": "unexported-return",
"severity": "warning"
}
]
},
"funlen": {
"lines": 270,
"statements": 110
}
},
"linters": {
"disable-all": true,
"enable": [
"misspell",
"govet",
"staticcheck",
"errcheck",
"unparam",
"ineffassign",
"nakedret",
"gocyclo",
"dupl",
"goimports",
"revive",
"gosec",
"gosimple",
"typecheck",
"unused",
"funlen"
]
},
"issues": {
"exclude-rules": [
{
"path": "pkg/controllers/clusterregistration/controller.go",
"text": "G101: Potential hardcoded credentials"
},
{
"path": "cmd/fleetcontroller/main.go",
"text": "G108: Profiling endpoint is automatically exposed on /debug/pprof"
},
{
"path": "cmd/fleetagent/main.go",
"text": "G108: Profiling endpoint is automatically exposed on /debug/pprof"
},
{
"path": "modules/agent/pkg/register/register.go",
"text": "G107: Potential HTTP request made with variable url"
},
{
"path": "modules/agent/pkg/deployer/internal/",
"linters": [
"revive"
]
},
{
"path": "_test.go",
"linters": [
"gocyclo",
"dupl",
"gosec"
]
}
]
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/rancher/fleet.git
git@gitee.com:rancher/fleet.git
rancher
fleet
fleet
add_shell_check

搜索帮助