1 Star 0 Fork 2

天马行空/kubei

forked from Gitee 极速下载/kubei 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
Idan Frimark 提交于 2022-03-31 14:14 . KubeClarity first commit (#99)
run:
skip-dirs:
- api
- ui
timeout: 5m
linters-settings:
golint:
min-confidence: 0.1
goimports:
local-prefixes: github.com/cisco-open/kubei
errorlint:
# Check whether fmt.Errorf uses the %w verb for formatting errors. See the readme for caveats
errorf: false
gomoddirectives:
# Allow local `replace` directives. Default is false.
replace-local: true
gosec:
# To specify a set of rules to explicitly exclude.
# Available rules: https://github.com/securego/gosec#available-rules
# excludes:
# - G404 # Insecure random number source (rand)
forbidigo:
# Forbid the following identifiers (identifiers are written using regexp):
forbid:
- ^print.*$
linters:
enable-all: true
disable:
- maligned
- funlen
- dupl
- nestif
- wsl
- lll
- interfacer
- exhaustivestruct
- nlreturn
- gocritic
- gochecknoglobals
- testpackage
- goerr113
- paralleltest
- godox # Allow TODOs
- tagliatelle # Allow json(camel)
- scopelint # deprecated
- golint # deprecated
issues:
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- govet
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML/CSS
1
https://gitee.com/IMGet/kubei.git
git@gitee.com:IMGet/kubei.git
IMGet
kubei
kubei
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385