mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 21:32:11 +08:00
Add gosec
This commit is contained in:
parent
e052bf31aa
commit
37027a68c8
@ -12,6 +12,7 @@ linters:
|
||||
- gci
|
||||
- gofmt
|
||||
- goimports
|
||||
- gosec
|
||||
- misspell
|
||||
- nakedret
|
||||
- nilerr
|
||||
@ -33,3 +34,6 @@ issues:
|
||||
- linters:
|
||||
- revive
|
||||
text: "exported:"
|
||||
- path: (_test\.go)
|
||||
linters:
|
||||
- gosec # security is not make sense in tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user