1 Star 0 Fork 49

stuife/Kratos

forked from Gitee 极速下载/Kratos 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.golangci.yml 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
run:
timeout: 5m
modules-download-mode: readonly
linters:
disable-all: true
fast: false
enable:
- bodyclose
- deadcode
- dogsled
- durationcheck
- errcheck
- exportloopref
- govet
- gosimple
- gofmt
- gofumpt
- goconst
- goimports
- gomnd
- gocyclo
- ineffassign
- lll
- prealloc
- revive
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- whitespace
- wastedassign
# don't enable:
# - asciicheck
# - scopelint
# - gochecknoglobals
# - gocognit
# - godot
# - godox
# - goerr113
# - interfacer
# - maligned
# - nestif
# - prealloc
# - testpackage
# - stylrcheck
# - wsl
linters-settings:
govet:
check-shadowing: true
whitespace:
multi-func: true
lll:
line-length: 160
gomnd:
# don't include the "operation", "argument" and "assign"
checks:
- case
- condition
- return
goconst:
ignore-tests: true
gocyclo:
# recommend 10-20
min-complexity: 50
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/stulife/Kratos.git
git@gitee.com:stulife/Kratos.git
stulife
Kratos
Kratos
main

搜索帮助