1 Star 0 Fork 16

misaka00251 / eggo_upstream

forked from openEuler / eggo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.golangci.yaml 892 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangxiaoyu 提交于 2022-03-29 21:34 . add golang static code check
run:
deadline: 10m
issues-exit-code: 1
tests: true
skip-dirs:
- vendor
skip-files:
- ".*\\.pb\\.go$"
- ".*\\.dbx\\.go$"
linters:
disable-all: true
enable:
- gomnd
- govet
- goimports
- revive
- gofmt
- gosimple
- typecheck
- misspell
- ineffassign
- deadcode
- structcheck
- unused
- errcheck
linters-settings:
gomnd:
settings:
mnd:
checks: argument, case, condition, operation, return, assign
ignored-numbers: 2
govet:
check-shadowing: true
use-installed-packages: false
goimports:
local-prefixes: isula.org/eggo
revive:
min-confidence: 0.8
rules:
- name: exported
disabled: true
gofmt:
simplify: true
misspell:
locale: US
errcheck:
check-type-assertions: false
check-blank: false
ignore: fmt:.*,io/ioutil:^Read.*
1
https://gitee.com/misaka00251/eggo_upstream.git
git@gitee.com:misaka00251/eggo_upstream.git
misaka00251
eggo_upstream
eggo_upstream
master

搜索帮助