Skip to content

Commit

Permalink
Enable shadow linter in .golangci.yml and remove shadowing check from…
Browse files Browse the repository at this point in the history
… govet

Signed-off-by: Lee Calcote <[email protected]>
  • Loading branch information
leecalcote committed Jan 3, 2025
1 parent 7072ba5 commit 909e730
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ linters-settings:
- prealloc
govet:
enabled: true
check-shadowing: true
tests: true
shadow:
enabled: true
golint:
enabled: true
min-confidence: 0.8
Expand Down

0 comments on commit 909e730

Please sign in to comment.