beego/.github/linters/.golangci.yml
2023-05-27 14:41:51 +08:00

44 lines
620 B
YAML

run:
timeout: 5m
skip-files:
- generated.*
issues:
new: true
linters:
enable:
- asciicheck
- bodyclose
- deadcode
- depguard
- gci
- gocritic
- gofmt
- gofumpt
- goimports
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nilerr
- rowserrcheck
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unused
- unparam
- varcheck
- whitespace
disable:
- errcheck
linters-settings:
gci:
local-prefixes: github.com/beego
goimports:
local-prefixes: github.com/beego