mirror of
https://github.com/gin-gonic/gin.git
synced 2025-04-06 03:57:46 +08:00
fix(golangci.yml): move fiximports to goimports section and replace exportloopref with copyloopvar (#4167)
Co-authored-by: huangzw <huangzw@2345.com>
This commit is contained in:
parent
733ee094fc
commit
ebe5e2a6bf
@ -7,7 +7,7 @@ linters:
|
|||||||
- durationcheck
|
- durationcheck
|
||||||
- errcheck
|
- errcheck
|
||||||
- errorlint
|
- errorlint
|
||||||
- exportloopref
|
- copyloopvar
|
||||||
- gci
|
- gci
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
- goimports
|
||||||
@ -39,10 +39,11 @@ linters-settings:
|
|||||||
perfsprint:
|
perfsprint:
|
||||||
err-error: true
|
err-error: true
|
||||||
errorf: true
|
errorf: true
|
||||||
fiximports: true
|
|
||||||
int-conversion: true
|
int-conversion: true
|
||||||
sprintf1: true
|
sprintf1: true
|
||||||
strconcat: true
|
strconcat: true
|
||||||
|
goimports:
|
||||||
|
fiximports: true
|
||||||
testifylint:
|
testifylint:
|
||||||
enable-all: true
|
enable-all: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user