forked from mirror/gin
Add gosec (#2882)
This commit is contained in:
parent
d6534ccf38
commit
f469c1be39
|
@ -12,6 +12,7 @@ linters:
|
||||||
- gci
|
- gci
|
||||||
- gofmt
|
- gofmt
|
||||||
- goimports
|
- goimports
|
||||||
|
- gosec
|
||||||
- misspell
|
- misspell
|
||||||
- nakedret
|
- nakedret
|
||||||
- nilerr
|
- nilerr
|
||||||
|
@ -33,3 +34,6 @@ issues:
|
||||||
- linters:
|
- linters:
|
||||||
- revive
|
- revive
|
||||||
text: "exported:"
|
text: "exported:"
|
||||||
|
- path: _test\.go
|
||||||
|
linters:
|
||||||
|
- gosec # security is not make sense in tests
|
||||||
|
|
Loading…
Reference in New Issue