mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 03:25:53 +00:00
Golangci : add linters (#653)
* Update .golangci.yml * Update .golangci.yml
This commit is contained in:
parent
3f800cc8ca
commit
01b12b43d4
1 changed files with 9 additions and 1 deletions
|
@ -2,6 +2,7 @@ linters:
|
|||
enable:
|
||||
- asciicheck
|
||||
- bodyclose
|
||||
- deadcode
|
||||
- depguard
|
||||
- dogsled
|
||||
- durationcheck
|
||||
|
@ -11,13 +12,20 @@ linters:
|
|||
- gofumpt
|
||||
- goimports
|
||||
- gosec
|
||||
- gosimple
|
||||
- govet
|
||||
- importas
|
||||
- ineffassign
|
||||
- megacheck
|
||||
- misspell
|
||||
- nakedret
|
||||
- nolintlint
|
||||
- revive
|
||||
- staticcheck
|
||||
- structcheck
|
||||
- typecheck
|
||||
- unconvert
|
||||
- unparam
|
||||
- wastedassign
|
||||
- unused
|
||||
- varcheck
|
||||
- wastedassign
|
||||
|
|
Loading…
Reference in a new issue