mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
ci: disable some lint
some lint work failed with generic
This commit is contained in:
parent
70da0ce6e4
commit
5b148d6c5e
@ -21,35 +21,28 @@ linters:
|
|||||||
disable-all: true
|
disable-all: true
|
||||||
fast: false
|
fast: false
|
||||||
enable:
|
enable:
|
||||||
- bodyclose
|
#- bodyclose
|
||||||
- deadcode
|
#- deadcode
|
||||||
- depguard
|
#- depguard
|
||||||
- dogsled
|
#- dogsled
|
||||||
|
- gofmt
|
||||||
|
- goimports
|
||||||
- errcheck
|
- errcheck
|
||||||
- exportloopref
|
- exportloopref
|
||||||
- exhaustive
|
- exhaustive
|
||||||
- bidichk
|
- bidichk
|
||||||
#- funlen
|
|
||||||
#- goconst
|
|
||||||
- gocritic
|
- gocritic
|
||||||
#- gocyclo
|
#- gosimple
|
||||||
- gofmt
|
|
||||||
- goimports
|
|
||||||
- goprintffuncname
|
|
||||||
#- gosec
|
|
||||||
- gosimple
|
|
||||||
- govet
|
- govet
|
||||||
- ineffassign
|
- ineffassign
|
||||||
#- misspell
|
#- nolintlint
|
||||||
- nolintlint
|
#- rowserrcheck
|
||||||
- rowserrcheck
|
#- staticcheck
|
||||||
- staticcheck
|
|
||||||
- structcheck
|
- structcheck
|
||||||
- stylecheck
|
#- stylecheck
|
||||||
- typecheck
|
|
||||||
- unconvert
|
- unconvert
|
||||||
- unparam
|
#- unparam
|
||||||
- unused
|
#- unused
|
||||||
- varcheck
|
- varcheck
|
||||||
- whitespace
|
- whitespace
|
||||||
- prealloc
|
- prealloc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user