1 Star 0 Fork 20

珠海_JadeLuo / Volcano

forked from Gitee 极速下载 / 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
Go
1
https://gitee.com/jadeluo/Volcano.git
git@gitee.com:jadeluo/Volcano.git
jadeluo
Volcano
Volcano
master

搜索帮助