Skip to content

Commit

Permalink
Update .golangci.yml to replace exportloopref with copyloopvar (#531)
Browse files Browse the repository at this point in the history
Signed-off-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
  • Loading branch information
gitworkflows authored Feb 21, 2025
1 parent 63954c6 commit 4c44720
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ linters:
enable:
- asciicheck
- bodyclose # Temporarily disabled.
- copyloopvar
#- depguard
- dogsled
#- errcheck # Temporarily disabled.
- errorlint
- exhaustive
- exportloopref
- gci
#- gochecknoinits # Temporarily disabled.
#- gocognit # Temporarily disabled.
#- gocognit # Temporarily disabled.
- goconst
- gocritic
- gocyclo
Expand Down Expand Up @@ -139,4 +139,3 @@ linters-settings:
- ptrToRefParam
- typeUnparen
- unnecessaryBlock

0 comments on commit 4c44720

Please sign in to comment.