mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 12:12:12 +08:00
fix(golangci.yml): move fiximports to goimports section and replace exportloopref with copyloopvar
This commit is contained in:
parent
3b28645dc9
commit
d5d36fac7e
@ -7,7 +7,7 @@ linters:
|
||||
- durationcheck
|
||||
- errcheck
|
||||
- errorlint
|
||||
- exportloopref
|
||||
- copyloopvar
|
||||
- gci
|
||||
- gofmt
|
||||
- goimports
|
||||
@ -39,10 +39,11 @@ linters-settings:
|
||||
perfsprint:
|
||||
err-error: true
|
||||
errorf: true
|
||||
fiximports: true
|
||||
int-conversion: true
|
||||
sprintf1: true
|
||||
strconcat: true
|
||||
goimports:
|
||||
fiximports: true
|
||||
testifylint:
|
||||
enable-all: true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user