Skip to content

Commit

Permalink
Enable copyloopvar, intrange
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Mar 21, 2024
1 parent 517a1f4 commit d9de26b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ linters:
enable:
- bodyclose
- containedctx
- copyloopvar
- dupl
- dupword
- durationcheck
Expand All @@ -125,6 +126,7 @@ linters:
- gosimple
- govet
- ineffassign
- intrange
- misspell
- noctx
- nolintlint
Expand Down
2 changes: 2 additions & 0 deletions internal/golangcilint/golangci_lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ linters:
enable:
- bodyclose
- containedctx
- copyloopvar
- dupl
- dupword
- durationcheck
Expand All @@ -167,6 +168,7 @@ linters:
- gosimple
- govet
- ineffassign
- intrange
- misspell
- noctx
- nolintlint
Expand Down

0 comments on commit d9de26b

Please sign in to comment.