mirror of https://github.com/stashapp/stash.git
lint: switch exportloopref to copyloopvar per warning message (#5212)
This commit is contained in:
parent
4e9925fd3f
commit
ad442fbee5
|
@ -15,11 +15,11 @@ linters:
|
||||||
- unused
|
- unused
|
||||||
# Linters added by the stash project.
|
# Linters added by the stash project.
|
||||||
# - contextcheck
|
# - contextcheck
|
||||||
|
- copyloopvar
|
||||||
- dogsled
|
- dogsled
|
||||||
- errchkjson
|
- errchkjson
|
||||||
- errorlint
|
- errorlint
|
||||||
# - exhaustive
|
# - exhaustive
|
||||||
- exportloopref
|
|
||||||
- gocritic
|
- gocritic
|
||||||
# - goerr113
|
# - goerr113
|
||||||
- gofmt
|
- gofmt
|
||||||
|
|
Loading…
Reference in New Issue