2 Star 0 Fork 0

nrgo / event

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.golangci.yml 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
tm 提交于 2021-02-22 00:18 . migrate
run:
tests: false
skip-files:
- ".*._const.go$"
- main/main.go
linters-settings:
govet:
enable:
- asmdecl
- assign
- atomic
- bools
- buildtag
- cgocall
- composites
- copylocks
- errorsas
- httpresponse
- loopclosure
- lostcancel
- nilfunc
- printf
- shift
- stdmethods
- structtag
- tests
- unmarshal
- unreachable
- unusedresult
disable:
- unsafeptr
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
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- gosec
- prealloc
- gosimple
- govet
- golint
- interfacer
- lll
- misspell
- nakedret
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- varcheck
- whitespace
- wsl
- maligned
disable-all: false
# don't enable:
# - gochecknoglobals
# - gocognit
# - godox
# - maligned
# - prealloc
Go
1
https://gitee.com/nrgo/event.git
git@gitee.com:nrgo/event.git
nrgo
event
event
master

搜索帮助