1 Star 0 Fork 44

李宁/ascend-for-volcano

forked from Ascend/ascend-for-volcano 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.yml 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
Xiang Dai 提交于 2020-06-21 09:44 . ignore lint issue temporarily
# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
format: colored-line-number
# print lines of code with issue, default is true
print-issued-lines: true
# print linter name in the end of issue text, default is true
print-linter-name: true
linters:
# please, do not use `enable-all`: it's deprecated and will be removed soon.
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
disable-all: true
enable:
- deadcode
- errcheck
- gocritic
- gofmt
- goimports
- golint
- gosimple
- govet
- ineffassign
- interfacer
- lll
- misspell
- staticcheck
- structcheck
- typecheck
- unconvert
- unparam
- varcheck
issues:
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
- path: _test\.go
linters:
- gomnd
- path: test
linters:
- gomnd
- dupl
# TODO: unknownState is totally same with closingState
- path: pkg/controllers/queue/state/unknown.go
linters:
- dupl
- path: v1beta1
linters:
- golint
- dupl
- path: pkg/scheduler
linters:
- godot
- path: clientset
linters:
- godot
- path: informers
linters:
- godot
- path: pkg/cli/queue/operate.go
linters:
- godot
- path: pkg/controllers/job/plugins/ssh/ssh.go
linters:
- godot
- path: v1alpha1
linters:
- godot
- path: generated
linters:
- golint
- deadcode
- path: fake
linters:
- golint
- deadcode
- godot
# TODO: fix lint issue
- path: pkg/api
linters:
- errcheck
- lll
- unparam
- unconvert
- goimports
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/TDlining/ascend-for-volcano.git
[email protected]:TDlining/ascend-for-volcano.git
TDlining
ascend-for-volcano
ascend-for-volcano
ascend-volcano-plugin

搜索帮助