Skip to content

Commit

Permalink
Enable goimports local prefix check
Browse files Browse the repository at this point in the history
Signed-off-by: futuretea <[email protected]>
  • Loading branch information
futuretea authored and RainbowMango committed May 13, 2021
1 parent e0f725c commit fc79a90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ linters:
enable:
# linters maintained by golang.org
- gofmt
- goimports
- golint
- govet
# linters default enabled by golangci-lint .
Expand All @@ -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:
Expand Down

0 comments on commit fc79a90

Please sign in to comment.