Enable goimports local prefix check
Signed-off-by: futuretea <1913508671@qq.com>
This commit is contained in:
parent
e0f725ca2d
commit
fc79a90507
|
@ -28,6 +28,7 @@ linters:
|
|||
enable:
|
||||
# linters maintained by golang.org
|
||||
- gofmt
|
||||
- goimports
|
||||
- golint
|
||||
- govet
|
||||
# linters default enabled by golangci-lint .
|
||||
|
@ -40,7 +41,9 @@ linters:
|
|||
- typecheck
|
||||
- unused
|
||||
- varcheck
|
||||
|
||||
linters-settings:
|
||||
goimports:
|
||||
local-prefixes: github.com/karmada-io/karmada
|
||||
issues:
|
||||
# The list of ids of default excludes to include or disable. By default it's empty.
|
||||
include:
|
||||
|
|
Loading…
Reference in New Issue