Skip to content

Commit 38c526a

Browse files
authored
Fix golint warnings (#221)
Fixes the following two golint warnings * linters.govet.check-shadowing -> linters.govet.shadow * removed scopelint as it is fully deprecated and disabled
1 parent 505717f commit 38c526a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.golangci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ linters:
1515
- govet
1616
- misspell
1717
- exportloopref
18-
disable:
19-
- scopelint
2018
disable-all: false
2119
presets:
2220
- bugs
@@ -31,7 +29,7 @@ linters-settings:
3129
min-confidence: 0.9
3230
govet:
3331
# report about shadowed variables
34-
check-shadowing: true
32+
shadow: true
3533
misspell:
3634
locale: US
3735

0 commit comments

Comments
 (0)