Skip to content

Commit

Permalink
Merge pull request #9339 from chrischdi/pr-golangcilint-fix-gci-config
Browse files Browse the repository at this point in the history
🌱 golangci-lint: replace deprecated local-prefixes setting for gci
  • Loading branch information
k8s-ci-robot committed Aug 30, 2023
2 parents f79e725 + 261404a commit a138746
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ linters:

linters-settings:
gci:
local-prefixes: "sigs.k8s.io/cluster-api"
sections:
- standard
- default
- prefix(sigs.k8s.io/cluster-api)
custom-order: true
ginkgolinter:
forbid-focus-container: true
godot:
Expand Down

0 comments on commit a138746

Please sign in to comment.