Skip to content

Commit 4b04fe0

Browse files
committed
linter cfg, rm waringns
1 parent f9d9b30 commit 4b04fe0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.golangci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ linters:
6262
# - errorlint
6363
# - exhaustive
6464
# - exhaustivestruct
65-
- exportloopref
65+
# - exportloopref -> copyloopvar # but we are using go 1.18
6666
# - forbidigo
6767
# - forcetypeassert
6868
- funlen
@@ -92,6 +92,7 @@ linters:
9292
- ineffassign
9393
# - ireturn
9494
# - lll
95+
# - copyloopvar # we have go 1.18
9596
- makezero
9697
- misspell
9798
- nakedret

0 commit comments

Comments
 (0)