Replace tenv
and exportloopref
linters with usetesting
and copyloopvar
(#278)
This commit is contained in:
parent
9bfaeabbed
commit
0e8c7a41f5
@ -1,7 +1,7 @@
|
|||||||
# Visit https://golangci-lint.run/ for usage documentation
|
# Visit https://golangci-lint.run/ for usage documentation
|
||||||
# and information on other useful linters
|
# and information on other useful linters
|
||||||
issues:
|
issues:
|
||||||
max-per-linter: 0
|
max-issues-per-linter: 0
|
||||||
max-same-issues: 0
|
max-same-issues: 0
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
@ -20,8 +20,7 @@ linters:
|
|||||||
- nilerr
|
- nilerr
|
||||||
- predeclared
|
- predeclared
|
||||||
- staticcheck
|
- staticcheck
|
||||||
- tenv
|
|
||||||
- unconvert
|
- unconvert
|
||||||
- unparam
|
- unparam
|
||||||
- unused
|
- unused
|
||||||
- govet
|
- usetesting
|
Loading…
x
Reference in New Issue
Block a user