1 Star 2 Fork 1

bison-fork/node_exporter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.yml 507 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ben Kochie 提交于 2021-10-27 11:01 . Replace deprecated linter (#2176)
linters:
enable:
- revive
disable:
# Disable soon to deprecated[1] linters that lead to false
# positives when build tags disable certain files[2]
# 1: https://github.com/golangci/golangci-lint/issues/1841
# 2: https://github.com/prometheus/node_exporter/issues/1545
- deadcode
- unused
- structcheck
- varcheck
issues:
exclude-rules:
- path: _test.go
linters:
- errcheck
linters-settings:
errcheck:
exclude: scripts/errcheck_excludes.txt
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/bison-fork/node_exporter.git
[email protected]:bison-fork/node_exporter.git
bison-fork
node_exporter
node_exporter
master

搜索帮助