2 Star 0 Fork 0

mirrors_containerd/stargz-snapshotter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.yml 957 Bytes
一键复制 编辑 原始数据 按行查看 历史
# This is applied to `estargz` submodule as well.
# https://golangci-lint.run/usage/configuration#config-file
linters:
enable:
- depguard # Checks for imports that shouldn't be used.
- staticcheck
- unconvert
- gofmt
- goimports
- revive
- ineffassign
- govet
- unused
- misspell
disable:
- errcheck
linters-settings:
depguard:
rules:
main:
deny:
- pkg: "github.com/containerd/containerd/errdefs"
desc: The containerd errdefs package was migrated to a separate module. Use github.com/containerd/errdefs instead.
- pkg: "github.com/containerd/containerd/log"
desc: The containerd log package was migrated to a separate module. Use github.com/containerd/log instead.
run:
deadline: 4m
issues:
exclude-rules:
- linters:
- revive
text: "unused-parameter"
exclude-dirs:
- docs
- images
- out
- script
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_containerd/stargz-snapshotter.git
git@gitee.com:mirrors_containerd/stargz-snapshotter.git
mirrors_containerd
stargz-snapshotter
stargz-snapshotter
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385