Skip to content

Commit

Permalink
Allow copyloopvar aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Mar 27, 2024
1 parent 2c56d3f commit dcd9a58
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 @@ -25,6 +25,8 @@ issues:
max-same-issues: 0

linters-settings:
copyloopvar:
ignore-alias: true
dupl:
# Tokens count to trigger issue, 150 by default.
threshold: 100
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 @@ -55,6 +55,8 @@ issues:
max-same-issues: 0
linters-settings:
copyloopvar:
ignore-alias: true
dupl:
# Tokens count to trigger issue, 150 by default.
threshold: 100
Expand Down

0 comments on commit dcd9a58

Please sign in to comment.