mirror of
https://github.com/spf13/cobra
synced 2025-04-04 22:09:11 +00:00
Address golangci-lint linter deprecation warnings
1.59.0 outputs: WARN [lintersdb] The name "gas" is deprecated. The linter has been renamed to: gosec. WARN [lintersdb] The linter named "megacheck" is deprecated. It has been split into: gosimple, staticcheck, unused.
This commit is contained in:
parent
8003b74a10
commit
157d0ef977
1 changed files with 2 additions and 4 deletions
|
@ -26,7 +26,6 @@ linters:
|
|||
- errcheck
|
||||
#- exhaustive
|
||||
#- funlen
|
||||
- gas
|
||||
#- gochecknoinits
|
||||
- goconst
|
||||
- gocritic
|
||||
|
@ -35,19 +34,18 @@ linters:
|
|||
- goimports
|
||||
#- gomnd
|
||||
#- goprintffuncname
|
||||
#- gosec
|
||||
- gosec
|
||||
- gosimple
|
||||
- govet
|
||||
- ineffassign
|
||||
#- lll
|
||||
- megacheck
|
||||
#- misspell
|
||||
#- nakedret
|
||||
#- noctx
|
||||
#- nolintlint
|
||||
#- rowserrcheck
|
||||
#- scopelint
|
||||
#- staticcheck
|
||||
- staticcheck
|
||||
#- structcheck ! deprecated since v1.49.0; replaced by 'unused'
|
||||
- stylecheck
|
||||
#- typecheck
|
||||
|
|
Loading…
Reference in a new issue