mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +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:
|
enable:
|
||||||
- asciicheck
|
- asciicheck
|
||||||
- bodyclose
|
- bodyclose
|
||||||
|
- deadcode
|
||||||
- depguard
|
- depguard
|
||||||
- dogsled
|
- dogsled
|
||||||
- durationcheck
|
- durationcheck
|
||||||
|
@ -11,13 +12,20 @@ linters:
|
||||||
- gofumpt
|
- gofumpt
|
||||||
- goimports
|
- goimports
|
||||||
- gosec
|
- gosec
|
||||||
|
- gosimple
|
||||||
- govet
|
- govet
|
||||||
- importas
|
- importas
|
||||||
|
- ineffassign
|
||||||
- megacheck
|
- megacheck
|
||||||
- misspell
|
- misspell
|
||||||
- nakedret
|
- nakedret
|
||||||
- nolintlint
|
- nolintlint
|
||||||
- revive
|
- revive
|
||||||
|
- staticcheck
|
||||||
|
- structcheck
|
||||||
|
- typecheck
|
||||||
- unconvert
|
- unconvert
|
||||||
- unparam
|
- unparam
|
||||||
|
- unused
|
||||||
|
- varcheck
|
||||||
- wastedassign
|
- wastedassign
|
Loading…
Reference in a new issue