Skip to content

Commit 909e730

Browse files
committed
Enable shadow linter in .golangci.yml and remove shadowing check from govet
Signed-off-by: Lee Calcote <[email protected]>
1 parent 7072ba5 commit 909e730

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.golangci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ linters-settings:
1616
- prealloc
1717
govet:
1818
enabled: true
19-
check-shadowing: true
2019
tests: true
20+
shadow:
21+
enabled: true
2122
golint:
2223
enabled: true
2324
min-confidence: 0.8

0 commit comments

Comments
 (0)