mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 14:30:10 +08:00
fix lint
This commit is contained in:
parent
206a38efab
commit
5e301ccaaf
@ -6,10 +6,6 @@ linters-settings:
|
|||||||
goimports:
|
goimports:
|
||||||
local-prefixes: github.com/FloatTech/ZeroBot-Plugin
|
local-prefixes: github.com/FloatTech/ZeroBot-Plugin
|
||||||
|
|
||||||
gocritic:
|
|
||||||
disabled-checks:
|
|
||||||
- exitAfterDefer
|
|
||||||
|
|
||||||
forbidigo:
|
forbidigo:
|
||||||
# Forbid the following identifiers
|
# Forbid the following identifiers
|
||||||
forbid:
|
forbid:
|
||||||
@ -30,7 +26,7 @@ linters:
|
|||||||
- exhaustive
|
- exhaustive
|
||||||
#- funlen
|
#- funlen
|
||||||
#- goconst
|
#- goconst
|
||||||
- gocritic
|
#- gocritic
|
||||||
#- gocyclo
|
#- gocyclo
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
- goimports
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user